RemoveAmpersands function
Removes single Ampersand characters, and returns the converted value.
Declaration
function RemoveAmpersands(const ASource: string): stringArguments
ASource | String with the values examined in the routine. |
Function result
Value after single Ampersand characters are removed.
Description
RemoveAmpersands is an overloaded function used to remove all
occurrences of a single Ampersand (&) character from the specified value.
It provides variants that operate on String and PChar types. The return value
contains the original value after all single Ampersand characters have been
removed. Double Ampersand (&&) characters are converted into a single
Ampersand character.
Use DeleteAmpersands to remove Ampersand character in the original
String value.
An experiment, built from development snapshots. Not the official Free Pascal or Lazarus documentation.
