Utilities.AnsiQuotedStr Method

Applies to TestComplete 15.63, last modified on April 10, 2024
This method is obsolete. See the Remarks section below.

Description

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.

Declaration

Utilities.AnsiQuotedStr(Str, Quote)

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

Applies To

The method is applied to the following object:

Parameters

The method has the following parameters:

Str

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

Quote

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

Result Value

The string enclosed in the specified characters.

Remarks

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