Returns an array containing substrings from the receiver that have been divided by characters in a given set.
- iOS 2.0+
- macOS 10.5+
- tvOS 9.0+
- watchOS 2.0+
- Mac Catalyst 13.0+Beta
A character set containing the characters to to use to split the receiver. Must not be
NSArray object containing substrings from the receiver that have been divided by characters in
The substrings in the array appear in the order they did in the receiver. Adjacent occurrences of the separator characters produce empty strings in the result. Similarly, if the string begins or ends with separator characters, the first or last substring, respectively, is empty.