Builtins.byteLength3kaya
Length in bytes of a string
Usage
Int byteLength( String s )
Arguments
s The string to measure
Overview
Get the length in bytes of a String (allowing for multi-byte characters in a UTF-8 encoding).
-
str = "Hello multibyte: "+Char(192);
l = length(str); // 18
ml = byteLength(str); // 19
Releases
4 releases since Debian 5.0 (Lenny); the text changed 3 times.