System.SysUtils.NewStr
Delphi
function NewStr(const S: AnsiString): PAnsiString;
C++
extern DELPHI_PACKAGE System::PAnsiString __fastcall NewStr _DEPRECATED_ATTRIBUTE0 (const System::AnsiString S);
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.SysUtils.pas System.SysUtils.hpp |
System.SysUtils | System.SysUtils |
Description
Warning: NewStr is deprecated.
Allocates a string on the heap.
NewStr allocates a new string on the heap. Do not use NewStr in new applications. This function is provided for backward compatibility only.
Use normal Delphi operators instead. The string allocation will be performed automatically.