Hi,
I'm having some issues with syntax and would love some guidance.
I have a pipe delimited field 'word1|word2' and I need to split at the pipe to display the two words. I 'm using a text/xml transformation so am guessing I will need to use {% ... %}
Thanks in advance,
Shawn
Hi Shawn.
Try
{% FieldName.Split("|")[0]) |(identity)GlobalAdministrator%}
Hi Jim,
Thanks for the reply - but unfortunately this is not working. Maybe I should have mentioned that the field I am trying to split is a related page field if that makes sense?
Thanks,
{% FieldName.ToString().Split("|")[0] |(identity)GlobalAdministrator%}
Please, sign in to be able to submit a new answer.