Utilities.AnsiQuotedStr Method

Applies to TestComplete 15.10, last modified on December 01, 2021
This method is obsolete. See the Remarks section below.


The Utilities.AnsiQuotedStr method encloses the string specified by the Str parameter in the characters specified by the Quote parameter and returns the resulting string. In addition, each occurrence of the Quote character within the string Str is doubled.


Utilities.AnsiQuotedStr(Str, Quote)

Str [in]    Required    String    
Quote [in]    Required    String    
Result String

Applies To

The method is applied to the following object:


The method has the following parameters:


Specifies the string that should be enclosed in the specified characters.


Specifies the characters in which the specified string should be enclosed.

Result Value

The string enclosed in the specified characters.


This method is obsolete. It is supported for backward compatibility only. To enclose a string in quotes, use the aqString.Quote method.

See Also

Quote Method
Unquote Method
Replace Method

Highlight search results