Skip to content

String Index Of

Pure

Returns the index of the first occurrence of a substring, or -1 if not found.

Pure Function
Yes

Execute Inputs

Execution

INPUT

Execution Input.

Data Inputs

Input

INPUT

The string to search in.

Substring

INPUT

The substring to search for.

Data Outputs

Index

OUTPUTinteger

The zero-based index of the first match, or -1 if not found.

Multiple

Settings

Debug

STRING

Break on node when executing.

Default: No
Options:
NoBeforeInputsBeforeProcessingAfterProcessing