Zen API
|
kStatus kString_Split | ( | kString | str, |
const kChar * | delimiters, | ||
kArrayList * | tokens, | ||
kAlloc | allocator | ||
) |
Splits this string into substrings using the supplied delimiters.
When using this method, all delimiter instances will result in the creation of additional output tokens, even if the output tokens are empty (e.g., multiple, successive delimiters). Use the kString_SplitEx method if control over this behaviour is required.
This function currently supports delimiters only within the ASCII character range.
str | String object. |
delimiters | Null-terminated string containing delimiter characters. |
tokens | Receives a list substrings. |
allocator | Memory allocator (or kNULL for default). |