lastindexOf

concerns

The lastindexOf attribute function can be used to determine the position of the first occurrence of a specified string (from the right) in the string of the variable.

 

Syntax

lastindexOf(Chars, [LanguageID])

Return value

Type

Description

Variant

1-based position of Chars in the string of the variable.

Parameter

Use

Name

Type

Passing

Description

Required

Chars

String

ByVal

The string to be checked.

Optional

LanguageID

String

ByVal

Language-ID of the value.

Note

If LanguageID is not specified, the dialog language applies.