iPhone trying to phrase a php file return from my web service
<p>I have made up a simple set of web services (trying to make a super simple chat server) that return a string.  I cannot figure out a easy way to phrase the string using the NSString class.
the string looks something like</p>

<p>start user
tedpottel
fred
Oreo<br>
end user
start comments
hello today how are you
say whats up
end comments</p>

<p>I would like to
1. extract a separate nsstring from start user to end user and start comment to end comment
2. then extract each line by using /n as the start and begging.</p>

<p>I can only find methods to get all the text from the end to a index, or from the begging to a index. I did not see anything for extrcating a string between to strings, or something like mid in php (ahhhh I wish i was using php now).</p>

<p>Since there is code to phrase xml files, there must be a way to do this am I missing something?????? 
Ted</p>
