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.
string_byte_length(string);
Argument | Description |
---|---|
string | The string to measure the number of bytes of. |
Real
bytesize = string_byte_length("Hello World");
This would set bytesize to the number of bytes in "Hello World".