System.WideStrUtils.WideDequotedStr

From Appmethod Libraries
Jump to: navigation, search

Object Pascal

function WideDequotedStr(const S: WideString; AQuote: WideChar): WideString;

C++

extern DELPHI_PACKAGE System::WideString __fastcall WideDequotedStr(const System::WideString S, System::WideChar AQuote);

Properties

Type Visibility Source Unit Parent
function public
System.WideStrUtils.pas
System.WideStrUtils.hpp
System.WideStrUtils System.WideStrUtils

Description

Converts a quoted WideString into an unquoted WideString.

WideDequotedStr removes the quotation marks from the beginning and end of a quoted string, 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, WideDequotedStr returns S unchanged.

See Also