Skip to content

ByteLength

Length (in bytes) of a unicodestring

Declaration

Source position: sysunih.inc line 69

  function ByteLength(const S: UnicodeString) : Integer;

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.