Split String

Please could someone help with spliting the following string.

bliss.drawString(tweets[1].title , alphabetx[0], alphabety[0]);  

The string is a tweet, and I want to be able to only use the first word of each tweet.


Is there anyone can help with this. Iā€™m stuck. Cheers.

You want the first word of a string? Could you just use?

string firstWord= ofSplitString(theTweet, " ")[0];