Skip to main content
Question

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


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

2 replies

gio
Contributor
Forum|alt.badge.img+15
  • Contributor
  • April 14, 2016

there are different ways.

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


Forum|alt.badge.img
  • Author
  • April 14, 2016
gio wrote:

there are different ways.

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

Thank you. Works perfect! :)


Cookie policy

We use cookies to enhance and personalize your experience. If you accept you agree to our full cookie policy. Learn more about our cookies.

 
Cookie settings