indexOf

concerns

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

 

Syntax

indexOf(Chars, [LanguageID])

Return value

Type

Description

Variant

1-based position of the string 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.