Scans the string as long as characters from a given character set are encountered, accumulating characters into a string that’s returned by reference.
- iOS 2.0+
- macOS 10.0+
- Mac Catalyst 13.0+
- tvOS 9.0+
- watchOS 2.0+
The set of characters to scan.
Upon return, contains the characters scanned.
true if the receiver scanned any characters, otherwise
Invoke this method with
string to simply scan past a given set of characters.