Sign in Join
FPDoc Onlineexperiment

StrCharLength function

In unit sysutils

Return the length of a null-terminated string in characters.

Declaration

pascal
function StrCharLength(const Str: PAnsiChar): SizeInt

Description

StrCharLength returns the length of the null-terminated string Str (a widestring) in characters (not in bytes). It uses the widestring manager to do this.

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