Sort Through Commas in Cocoa
Sort Through Commas in Cocoa
- Subject: Sort Through Commas in Cocoa
- From: Pierce Freeman <email@hidden>
- Date: Wed, 26 Nov 2008 18:12:59 -0800
- Thread-topic: Sort Through Commas in Cocoa
Hi everyone.
Assuming that you get input from user via a regular text field, I am
wondering how you can sort through the commas and then save each of the
words that come before the commas into a array. For example, the words
below would be what the user inputted:
Apple, banana, grapes
Then it would save Apple into someArray[0], banana into someArray[1], and
grapes into someArray[2].
Thanks for any help.
Sincerely,
Pierce F.
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins(at)lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden