Become a MacRumors Supporter for $50/year with no ads, ability to filter front page stories, and private forums.

SpiffyChee

macrumors member
Original poster
Jul 22, 2005
46
0
I'm trying to take a string of an input sentence and separate the string into single words. Once the words are separated I want to display one at a time. How can i do this?

So far I've discovered that i can use the method componentsSeparatedByString but this still doesn't really get me anywhere. I'm pretty new to objective C and would appreciate your help! Any points to the right direction would be great :)

or should i use NSScanner?
 
compontentsSeparatedByString: should do what you want. Why don't you post your code, explain, in detail what you think it's doing and what it's actually doing.
 
Register on MacRumors! This sidebar will go away, and you'll see fewer ads.