I have a checkbox with the following options
Blue (BL)
Red (RD)
Magenta (MAG)
Green (GRN)
The output I want is BL,RD,MAG,GRN
This is similar to what was resolved before but the solution is fixed to two characters
I'm using this one but I know there is a better and cleaner approach
replaceAll(replaceAll(toString(textOnStringList(toStringList(%{19401}), substring(^%,length(^%)-4,length(^%)-1))), "\\s", ""), "\\x28", "")
Basically, I first replace the spaces with blanks then replace ( with blanks. Can someone improve the code please?
You must be a registered user to add a comment. If you've already registered, sign in. Otherwise, register and sign in.