System.SysUtils.AnsiDequotedStr
Delphi
function AnsiDequotedStr(const S: string; AQuote: Char): string;
C++
extern DELPHI_PACKAGE System::UnicodeString __fastcall AnsiDequotedStr(const System::UnicodeString S, System::WideChar AQuote)/* overload */;
Properties
Type | Visibility | Source | Unit | Parent |
---|---|---|---|---|
function | public | System.SysUtils.pas System.SysUtils.hpp |
System.SysUtils | System.SysUtils |
Description
Converts a quoted string into an unquoted string.
AnsiDequotedStr removes the quotation marks from the beginning and end of a quoted strins and reduces pairs of quotation marks within the string to a single quotation mark. The AQuote parameter defines what character to use as a quotation mark. If the S parameter does not begin and end with the quotation mark, AnsiDequotedStr returns S unchanged.
Note: This function supports multi-byte character sets (MBCS).