Instance Methods | |
(CPArray) | - componentsSeparatedByCharactersInSet: |
(id) | - stringByTrimmingCharactersInSet: |
Definition at line 421 of file CPCharacterSet.j.
|
implementation |
Tokenizes the receiver string using the characters in a given set. For example, if the receiver is: "Baku baku to jest skład."
and the set is [CPCharacterSet whitespaceCharacterSet] the returned array would contain:
["Baku", "baku", "to", "jest", "", "skład."]
Adjacent occurrences of the separator characters produce empty strings in the result.
A | character set containing the characters to use to split the receiver. Must not be nil. |
Extends class CPString.
Definition at line 435 of file CPCharacterSet.j.
|
implementation |
Extends class CPString.
Definition at line 462 of file CPCharacterSet.j.