Utilities.AnsiSameText Method

Applies to TestComplete 15.0, last modified on November 17, 2021
This method is obsolete. See the Remarks section below.

Description

The Utilities.AnsiSameText method compares two strings specified by the Str1 and Str2 parameters and returns True if they are equal. Otherwise, it returns False. Comparison is case-insensitive and is affected by the current locale.

Declaration

Utilities.AnsiSameText(Str1, Str2)

Str1 [in]    Required    String    
Str2 [in]    Required    String    
Result Boolean

Applies To

The method is applied to the following object:

Parameters

The method has the following parameters:

Str1 and Str2

Specify the strings that should be compared.

Result Value

True if the specified strings are equal. Otherwise, False.

Remarks

This method is obsolete. It is supported for backward compatibility only. To compare two strings, use the aqString.Compare method.

See Also

Working With Strings
Compare Method

Highlight search results