Appearance
StripQuotes
Declaration
Function StripQuotes( const aValue : string; aChar : Char) : string
Example
pascal
procedure OnMapEvent(var Value:Variant);
begin
Value := StripQuotes('"abc"', '"'); //returns 'abc'
Value := StripQuotes('"ab""c"', '"'); //returns 'ab"c'
end;Description
Removes surrounding quote characters from aValue. the quote character to remove is given by aChar. If aValue does not have quotes then nothing happens and aValue is returned without change. if aValue contains the aChar character escaped then escaping will be removed.