String Find Index

Similar to the String Contains node, this searches within the input string for the first (or last) occurrence of a substring and returns the index of where that begins, or -1 if not found.

Interface

Inputs

ParameterDetailsPossible Types
String

The string to search within.

Primary Input

String
Substring

The substring to search for.

Default: ""

String
From End

Find the start index of the last occurrence instead of the first.

Default: false

bool

Outputs

ProductDetailsPossible Types
Result

The value produced by the node operation.

Primary Output

f64