System.AnsiStrings.QuotedStr

From RAD Studio API Documentation
Jump to: navigation, search

Delphi

function QuotedStr(const S: AnsiString): AnsiString;

C++

extern DELPHI_PACKAGE System::AnsiString __fastcall QuotedStr(const System::AnsiString S)/* overload */;

Properties

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

Description

Gets quoted string from string.

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.

See Also