Utilities.AnsiSameStr Method

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

Description

The Utilities.AnsiSameStr 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-sensitive and is affected by the current locale.

Declaration

Utilities.AnsiSameStr(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