System.AnsiStrings.StrDispose
Delphi
procedure StrDispose(Str: PAnsiChar);
C++
extern DELPHI_PACKAGE void __fastcall StrDispose(char * Str)/* overload */;
Properties
| Type | Visibility | Source | Unit | Parent | 
|---|---|---|---|---|
| procedure function | public | System.AnsiStrings.pas System.AnsiStrings.hpp | System.AnsiStrings | System.AnsiStrings | 
Description
Disposes of a string.
StrDispose is provided for backward compatibility. StrDispose disposes of a string on a heap that was previously allocated with StrAlloc or StrNew.
If Str is nil (Delphi) or NULL (C++), StrDispose does nothing.
See Also
Code Examples