Skip to main content
Question

Is there a way to abbreviate words within a field?

  • September 15, 2023
  • 2 replies
  • 10 views

pearly1
Contributor
Forum|alt.badge.img+4

imageimageHi,

New to FME and creating a workbench converting CAD to GIS. I am trying to get the structure fields to match and eventually join them after more clean up. Id like the structures field to be abbreviated. I was thinking Attribute manager could do this. but when I use conditional formatting I loose the "-#". another thought would be to add an alias? but again I am not too sure of a solution.

 

Thanks!

2 replies

raymondbrunner
Contributor
Forum|alt.badge.img+10

Have you considered the StringReplacer?

 

I would replace the occurrence of "Curb Inlet " (with a space included) into "CI-"

 

imageThis would leave the second record without a number suffix unchanged.

image


redgeographics
Celebrity
Forum|alt.badge.img+49
raymondbrunner wrote:

Have you considered the StringReplacer?

 

I would replace the occurrence of "Curb Inlet " (with a space included) into "CI-"

 

imageThis would leave the second record without a number suffix unchanged.

image

And as an addition: the StringPairReplacer will let you specify multiple replacement pairs.


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