Zen API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Friends Macros Modules Pages

kSize kString_Length | ( | kString | str | ) |

Returns the number of character units in the string buffer (excluding null-terminator).

kString assumes UTF8-encoded data; the string length refers to the number of encoded character units (bytes), rather than the number of characters.

Parameters

  str | String object.

Returns
  Count of character units (excluding null-terminator).