Hi,
I have to split the below string on '<message>' , so that I get 3 <message> parts, and then loop through each one of it to read the <name> and the <content>. What operation should I use to split the string based on a string (i.e'<message>' ). Once I have the parts, I am able to extract the required data.
I tried to use ParseString toolstep, but that does not work out as expected. Please help!
The string that needs to be broken..:
<message>
<name>Shilpa</name>
<content>Text1</content>
</message>
<message>
<name>Shilpa</name>
<content>Text2</content>
</message>
<message>
<name>Shilpa</name>
<content>Text3</content>
</message>
Thanks,
Shilpa