Skip to content

Index Of Node

Utils/String

Finds the character index of the first occurrence of a substring

string_index_ofstd
Inputs3
Outputs2
Security exposure10/10
Packagestd

Ratings

Scores range from 0 to 10. Higher values mean more impact, exposure, or operational weight.

SecurityAttack surface and exposure impact.
10/10High
PrivacyPotential sensitivity of processed data.
10/10High
PerformanceRuntime or resource pressure.
10/10High
GovernancePolicy, audit, or compliance impact.
10/10High
ReliabilityOperational stability considerations.
10/10High
CostExternal or compute cost impact.
10/10High

Input Pins

3

String

String
string

Input String

Substring

String
substring

Substring to search for

Ignore Case

Boolean
ignore_case

Compare without regard to upper/lower case

Default false

Output Pins

2

Index

Integer
index

Character index of the match, -1 when not found

Found

Boolean
found

True when the substring occurs in the string

Node Info

Internal name
string_index_of
Category
Utils/String