Skip to content

ByteLength

Length (in bytes) of a unicodestring.

Declaration

Source position: sysunih.inc line 72

function ByteLength(const S: UnicodeString) : SizeInt;

Description

ByteLength returns the length of a unicodestring in bytes. This equals the character length of the string (Length) multiplied by the number of bytes per character (2).

See also

Name Description
Length Returns length of a string or array.