Houdini 20.5 Nodes APEX Nodes

string::Find

Finds the first occurrence of a substring.

On this page
Since 20.5

Inputs

string: String

String to search.

find: String

Substring to find inside string.

casesensitive: Bool

If set to True, the search is case-sensitive. If set to False, a match is found regardless of whether the letters are uppercase or lowercase.

Outputs

index: Int

The 0-based index where the find substring occurs in string. A negative number indicates that the search failed.

See also

APEX Nodes