Skip to main content

Hello All,

 

I am trying to loop through a feature class with 30+ fields, each field having terrible quality data filled with duplicate white space.

I am trying to find a way to loop through the feature class, checking each field and then replacing the duplicate white space with single white space. I can do this manually, one at a time, with 30+ StringSearchers->StringReplacers. However, I am wondering if anyone has found a way to build a custom function to loop through each field and replace values? I would prefer to call a custom transformer and loop through all fields than build 30+ groups of two transformers. Currently in the string replacer I only see the option to do one string at a time.

 

Never mind, I would delete this question if I could.

 

String replacer with replace regex expression.


Reply