Utilities.AnsiStrRScan Method

Applies to TestComplete 14.10, last modified on June 5, 2019
This method is obsolete. See the Remarks section below.

Description

The Utilities.AnsiStrRScan method searches for the Chr character in the Str string from the end to the beginning.

Declaration

Utilities.AnsiStrRScan(StrChr)

Str [in]    Required    String    
Chr [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 strings in which the specified character should be found.

Chr

Specifies the character to be found in the specified string.

Result Value

If Chr is found, the function returns a substring that starts from the position of Chr in Str and continues to the end of Str. If the specified character is not found, AnsiStrRScan returns an empty string.

Remarks

The Chr parameter should specify one character, not a string. If Chr is a string of several characters, the first character will be used.

The Utilities.AnsiStrRScan method is obsolete and supported for backward compatibility only. To search for a character within a string, use the aqString.Find method.

See Also

aqString.Find Method

Highlight search results