Zen API
|
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.
str | String object. |
content | String content to be compared. |