kasdoffe
Well-known member
- Joined
- Aug 27, 2003
- Messages
- 57
How can I easily parse a string like the following?
<First>John</First><Last>Doe</Last><MiddleInitial>J</MiddleInitial>
If I want to extract the last name Doe from that string, is there an xml command to do so? I hope I wouldnt have to use string manipulation to find the location and parse the text.
Changing the format of the string to parse isnt an option. In fact, it could be even more messed up, like this:
156^first:1:3^last:2:4^<First>John</First><Last>Doe</Last><MiddleInitial>J</MiddleInitial>^blahblahblah
Any help?
<First>John</First><Last>Doe</Last><MiddleInitial>J</MiddleInitial>
If I want to extract the last name Doe from that string, is there an xml command to do so? I hope I wouldnt have to use string manipulation to find the location and parse the text.
Changing the format of the string to parse isnt an option. In fact, it could be even more messed up, like this:
156^first:1:3^last:2:4^<First>John</First><Last>Doe</Last><MiddleInitial>J</MiddleInitial>^blahblahblah
Any help?