Zen API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Friends Macros Modules Pages

kStatus kString_SplitEx | ( | kString | str,
|  | const kChar * | delimiters,
|  | kArrayList * | tokens,
|  | kBool | discardEmpty,
|  | kAlloc | allocator
| ) |  |

Splits this string into substrings using the supplied delimiters.

This function currently supports delimiters only within the ASCII character range.

Parameters

  str | String object.
  delimiters | Null-terminated string containing delimiter characters.
  tokens | Receives a list substrings.
  discardEmpty | kTRUE to omit empty tokens.
  allocator | Memory allocator (or kNULL for default).

Returns
  Operation status.