Utilities.AnsiExtractQuotedStr Method

Applies to TestComplete 15.69, last modified on November 13, 2024
This method is obsolete. See the Remarks section below.

Description

The Utilities.AnsiExtractQuotedStr method scans the given string (Str) and removes the quote characters from the beginning and from the end of the string. If this function finds a pair of quote characters within the string, it reduces each pair to a single quote character. If the first character in Str is not the value of the Quote parameter, AnsiExtractQuotedStr returns an empty string.

Declaration

Utilities.AnsiExtractQuotedStr(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 from which the quote characters should be removed.

Quote

Specifies what character will be used as a quote character.

Result Value

The unquoted string.

Remarks

This method is obsolete. It is supported for backward compatibility only. To unquote a string, use the aqString.Unquote method.

See Also

Unquote Method
Quote Method
Replace Method

Highlight search results