Hi there,
Hope you can help me on this one:
I have a field ("strAccountIds") containing a concatenated string delimited by semicolon, e.g. DOMAIN\user1;DOMAIN\user2;DOMAIN\user3.
From this string I would like to extract this string:
user1;user2;user3
I've tried using concat and substring-after and substring-before like this:
concat(substring-before(substring-after(strAccountIds; "\"); ";"); ";")
This formula only returns "user1;" - I need it to return everything in between every set of "\" and ";", i.e. all users, not just the first one.
I haven't been able to find relevant forum posts since the length of the concatenated string varies (as it is based on the number of users selected in a people picker).
I took a look at this post http://www.infopathdev.com/forums/p/12278/43085.aspx#43085
I can understand how to parse a string when there is a fixed number of delimeters but how to do it when the number of delimeters varies?
Hope you can direct me to relevant posts, links or the like .. I'd be really grateful.