RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
WideStrUtils.WideDequotedStr Function

Converts a quoted WideString into an unquoted WideString.

Pascal
function WideDequotedStr(const S: WideString; AQuote: WideChar): WideString;
C++
BSTR WideDequotedStr(const BSTR S, WideChar AQuote);

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. 

 

Copyright(C) 2009 Embarcadero Technologies, Inc. All Rights Reserved.
What do you think about this topic? Send feedback!