ByteToCharLen function
Convert a length in bytes to a length in characters.
Declaration
function ByteToCharLen(const S: string; MaxLen: SizeInt): SizeIntDescription
ByteToCharLen returns the number of bytes in
S, but
limits the result to
MaxLenErrors
This function does not take into account MBCS yet.
See also
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
