Skip to main content
Solved

Looping through Feature class columns to replace values

  • May 21, 2020
  • 1 reply
  • 40 views

johnehlen
Forum|alt.badge.img

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.

 

Best answer by johnehlen

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

 

String replacer with replace regex expression.

View original
Did this help you find an answer to your question?

1 reply

johnehlen
Forum|alt.badge.img
  • Author
  • Best Answer
  • May 21, 2020

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

 

String replacer with replace regex expression.


Reply


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