Skip to main content
Question

split attribute value by comma


Forum|alt.badge.img+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

david_r
Celebrity
  • July 22, 2019

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


Forum|alt.badge.img+1
  • Author
  • July 22, 2019
david_r wrote:

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.


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