StringLength
- Parameters
-
s string
- comment
Returns the length of the string in bytes. This means Unicode (non-ASCII) characters will take up and return a higher byte count than there are letters.
Example:
StringLength("я")
returns 2.- pure
- This function is pure. For the same values passed to it, it will always return the same value.
- patch
1.13
- Source
- common.j
- return type
integer
- Source code
native StringLength takes string s returns integer