Question

split attribute value by comma

  • 22 July 2019
  • 2 replies
  • 61 views

Badge +1

Hi guys, i would like to split attribute value into 2 substrings separated by comma delimeter. I am unable to split it with string replacer or attribute creator.

Type of data:

What i tried:

@Substring(@Value(NASLOV),0,@FindString(@Value(NASLOV),","))

 

and

Any suggestions?

 

thanks in advance,

 

Bye Miha


2 replies

Userlevel 4

Have you looked at the AttributeSplitter? You can then use e.g. an AttributeRenamer to rename the resulting list elements, e.g.

Badge +1

Have you looked at the AttributeSplitter? You can then use e.g. an AttributeRenamer to rename the resulting list elements, e.g.

That one worked great! Thanks.

Reply