How do I find the actual index of the string searched for using rangeOfString? So I have this:
[name rangeOfString: @"Arnold"];
How do I retrieve the index of the string’s location? I need both the beginning index and the index where the string ends. Example would help.
1 Answer