Sign in Join
FPDoc Onlineexperiment

ByteLength function

In unit sysutils

Length (in bytes) of a unicodestring.

Declaration

pascal
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

An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.