RAD Studio VCL Reference
ContentsIndex
PreviousUpNext
SysUtils.QuotedStr Function

Returns the quoted version of a string.

Pascal
function QuotedStr(const S: string): string;
C++
AnsiString QuotedStr(const AnsiString S);

SysUtils

Use QuotedStr to convert the string S to a quoted string. A single quote character (') is inserted at the beginning and end of S, and each single quote character in the string is repeated.

Note: When working with multi-byte character systems (MBCS), use AnsiQuotedStr instead.
 

Copyright(C) 2008 CodeGear(TM). All Rights Reserved.
What do you think about this topic? Send feedback!