I need to split string without a separator. Here is the code..
myarray = [mystring componentsSeparatedByString:@","];
Here I used separator "," to split string, but I want to split without using a separator
NSString *mystring =@"123456";
I have this value , now I want to insert that value in an array like this:
array[0]=1;
array[1]=2;
............and so on..