Use this:
NSString *testString= @"0,0,0You are at a walkway";
NSArray *array = [testString componentsSeparatedByString:@","];
you'll have:
array[0] = "0"
array[1] = "0"
array[2] = "0You are at a walkway"
If you also add a comma beween the "0" and the "You" in "...0You...", it will be easier, as you'll have:
array[0] = "0"
array[1] = "0"
array[2] = "0"
array[3] = "You are at a walkway"