-
-
Notifications
You must be signed in to change notification settings - Fork 20
string_byte_length
drewmccluskey edited this page Nov 28, 2018
·
5 revisions
Returns the number of bytes in a string.
string_byte_length( str );| Argument | Description |
|---|---|
| str | The string to measure the number of bytes of. |
Returns: Real
This function returns the number of bytes in a string, but you should note that due to their being held as UTF8, this will not be equal to their string length.
bytesize = string_byte_length("Hello World"); This would set bytesize to the number of bytes in "Hello World".
Back to strings