I have an NSString
that contains some values separated by an unknown number of whitespace characters. For example:
NSString* line = @"1 2 3";
I would like to split the NSString
into an NSArray
of values like so: {@"1", @"2", @"3"}
.
If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!
Donate Us With