Zen API

- Home
- Topics
- Types
- Files

All Classes Files Functions Variables Typedefs Friends Macros Modules Pages

k32s kString_Compare | ( | kString | str,
|  | const kChar * | content
| ) |  |

Compares this string to another string.

The result is negative if the string object is lexically less than the input, positive if the string object is lexically greater than the input, and zero if they are equal.

This function performs comparison of UTF-8 encoded characters by Unicode code point.

Parameters

  str | String object.
  content | String content to be compared.

Returns
  Comparison result.