[Overview][Constants][Types][Classes][Procedures and functions][Variables][Index] Reference for unit 'sysutils' (#rtl)

StrPas

Convert a null-terminated string to an ansistring.

Declaration

Source position: syspchh.inc line 44

function StrPas(

  Str: PChar

):String;

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

Errors

None.

See also

StrPCopy

  

Copy an ansistring to a null-terminated string.

StrPLCopy

  

Copy a limited number of characters from an ansistring to a null-terminated string.

The latest version of this document can be found at lazarus-ccr.sourceforge.net.