Sign in Join
FPDoc Onlineexperiment

StrPas function

In unit sysutils

Convert a null-terminated string to an ansistring.

Declaration

pascal
function StrPas(Str: PAnsiChar): string; overload

Description

Converts a null terminated string in Str to an Ansitring, and returns this string. This string is NOT truncated at 255 characters as is the system unit's version.

Errors

None.

See also

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