StringElementSize function
Get the character size of a string.
Declaration
function StringElementSize(const S: RawByteString): Word; overloadDescription
StringCodePage returns the character size of a string (
S), regardless of the string type.
It accesses the internal structures of the string to retrieve this information.
For an empty string,
SizeOf(AnsiChar) (normally 1) is returned.See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
