scanCharacters(from:into:)
Scans the string as long as characters from a given character set are encountered, accumulating characters into a string that’s returned by reference.
Declaration
func scanCharacters(from set: CharacterSet, into result: AutoreleasingUnsafeMutablePointer<NSString?>?) -> BoolParameters
- set:
The set of characters to scan.
- result:
Upon return, contains the characters scanned.
Return Value
true if the receiver scanned any characters, otherwise false.
Discussion
Invoke this method with NULL as stringValue to simply scan past a given set of characters.