System.AnsiStrings.StrPas
Delphi
function StrPas(const Str: PAnsiChar): AnsiString;
C++
extern DELPHI_PACKAGE System::AnsiString __fastcall StrPas(const char * Str)/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.AnsiStrings.pas System.AnsiStrings.hpp |
System.AnsiStrings | System.AnsiStrings |
Description
Converts null-terminated string to an AnsiString (long string).
This function is provided for backwards compatibility only. To convert a null-terminated string to an AnsiString or native Delphi language string, use a typecast or an assignment.
See Also
Code Examples