Utilities.AnsiQuotedStr Method

Applies to TestComplete 12.60, last modified on September 17, 2018
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(StrQuote)

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

aqString.Quote Method
aqString.Unquote Method
aqString.Replace Method

Highlight search results