Question

I have an attribute that I want to split into component parts. What transformer will accommodate wild cards etc. or varying delimiters into its logic?


Badge
  • Contributor
  • 8 replies

"4;30;4;20;SW,SE",,,

 

Here is my attribute string, I want everything between the quotes to be split at the ; and the rest to be split at the commas. (There are no values held there in this example.) Please help. m


3 replies

Userlevel 6
Badge +33

I would use the stringreplacer with regex and replace all variants with one delimiter, then use the attributesplitter to split.

Badge +11

Hi. Try it like this

list

Userlevel 4
Badge +36

You may find this related question of use: https://community.safe.com/s/question/0D54Q000080hQkFSAU/split-attribute-with-delimiter-but-also-ignore-the-same-delimiter

Reply