Skip to main content
Question

How to "cut" an attribute to a specific length?

  • Apr 14, 2016 2:22 PM UTC
  • 2 replies
  • 521 views

Forum|alt.badge.img

Dear FME community,

I have an attribute from an WFS which has values of more than 200 chars. I want to trim down the length of that attribute because my database only allows for a specific length. Is there a way to "cut" the attribute after a specific length so that it doesen't exeed for example 200 chars. The values after that can be ignored (only the first 200 signs should be taken).

Many thanks for your help and kind regards

Thomas

This post is closed to further activity.
It may be an old question, an answered question, an implemented idea, or a notification-only post.
Please check post dates before relying on any information in a question or answer.
For follow-up or related questions, please post a new question or idea.
If there is a genuine update to be made, please contact us and request that the post is reopened.

2 replies

gio
Contributor
Forum|alt.badge.img+15
  • Contributor
  • Apr 14, 2016 3:36 PM UTC

there are different ways.

You could for instance use a Substringextractor. (0,199)


Forum|alt.badge.img
  • Author
  • Apr 14, 2016 3:40 PM UTC

there are different ways.

You could for instance use a Substringextractor. (0,199)

Thank you. Works perfect! :)