Transformers - String

Hi all,

I’m working on string like this (it’s an example) :

string| string1 | string2| string3 | string4| string5 ecc

Witch transformesr should i use to obtain this result?

string| string1

I just need the first two string before the second pipe.

Thank you,
fa

Hi Francesco,

you can use tokenize and/or split from WmPublic package to transform the string into a list and then construct a new String by concatenating. After you have read the second value exit the loop and drop the list.

Regards,
Holger