FMX.Types.DelAmp
Delphi
function DelAmp(const AText: string): string;
C++
extern DELPHI_PACKAGE System::UnicodeString __fastcall DelAmp(const System::UnicodeString AText);
Properties
| Type | Visibility | Source | Unit | Parent |
|---|---|---|---|---|
| function | public | FMX.Types.pas FMX.Types.hpp |
FMX.Types | FMX.Types |
Description
Removes the ampersand '&' characters of the Text string.
DelAmp removes single ampersand '&' characters and keeps one of the duplicated ampersand '&' characters.
For example, DelAmp converts the string
'S&ome text && number'
to
'Some text & number'.