RAD Studio VCL Reference
AnsiStrings.QuotedStr Function

Gets quoted string from string.

function QuotedStr(const S: AnsiString): AnsiString; overload;
AnsiString QuotedStr(const AnsiString S);

QuotedStr returns the given AnsiString as a quoted AnsiString. A single quote character is inserted at the beginning and the end of the AnsiString, and for each single quote character in the AnsiString, another one is added. To remove the quotes from a quoted string, use AnsiDequotedStr routine. 


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