views:

37

answers:

2

Hello!

Is there any way to split strings in objective c into arrays? I mean like this - input string Yes:0:42:value into an array of (Yes,0,42,value)?

Thanks! Christian Stewart

+4  A: 

-[NSString componentsSeparatedByString:]

mipadi
A: 

Try componentsSeparatedByString:

amrox