I’m new to the site. Does anyone know if it is possible to take a tweet and split the information in it into separate sections in Xcode? For example …
If the tweet read…
“Sky News:This is the headline:on 12/04/12:This is the body of the message”
can I extract the chunks separated by the colons as separate strings so that one string could be “Sky News” one “This is the headline …etc?
Thanks in advance
Al
I’m new to the site. Does anyone know if it is possible to take
Share
With
-[NSString componentsSeparatedByString:]you can split the string into an array of strings.Now the array
arrwill have 4 items.