I’ve searched and searched, and because the “@” symbol is used in strings (ex: @”mystring”) in iOS, I cannot find how to determine whether a string contains it. Once I determine if it contains it, I need to know its location within the string.
NSArray *array_Email_Parts = [str_Email_Address componentsSeparatedByString: @"//@"];
The above doesn’t work. I’ve tried several variations of it. Any suggestions?
This will get the index of the
@symbol.Note that
@is perfectly valid within anNSString, don’t escape it.