String contains

Checks if first string contains second string.

String contains in Lightact's Layer Layouts visual scripting system.
Screenshot of String contains node.

Inputs

TypeNameDescription
StringSequence of characters
HaystackString value
StringSequence of characters
NeedleString value

Outputs

TypeNameDescription
IntStores whole number value
1st occurrenceReturns an integer value
BoolTruth value
FoundReturns a boolean value