exploding string into array...
exploding string into array...
- Subject: exploding string into array...
- From: email@hidden
- Date: Thu, 19 Feb 2004 12:28:14 -0800
ok so i have a string with field names in or ie "field1,field2,field3"
when i use:
NSArray *fieldsArray = [fields componentsSeparatedByString:@","];
the resulting array has them in no particular order i figure it would
break them into an array like:
array[0] - field1
array[1] - field2
array[2] - field3
but it doesn't am i doing something wrong or is there a better way to
do this i just need an array with these fields in the correct order i
would be nice not having to add them 1 at a time...
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives:
http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.