opt to return ranges instead of strings
Status: Beta
Brought to you by:
jengelhart
Would like to see an option to return the ranges of the strings, rather than the actual strings. Perhaps returning an NSArray of NSValues containing each range.
For example, if you wanted to implement a Find Dialog, you'd want to ranges so you could highlight the found text.