Skip to content

OpenBIMRL | General functions

Class path: text.indexOf

Index of

indexOf1.png

Description

Specifies the index in place of the character string in the text. -1 if none was found.

Input

Input Name Typ Description
0 String Text The text to be examined.
1 sub-String Text The character string to be searched for.

Output

Output Name Typ Description
0 number Integer The index of the sub-string you are looking for.

Use/Example

indexOf2.png

Node representation with example values

Sample file