type

StrContains

StrContains : HxComp

Checks if inB can be found within inA.

slots parentRef

Component tree parent

compName

Component name in parent

compLayout

Layout in a visual coordinate system

links

List of links to this component

inA

Defines the Str to check for inB

inB

The Str to look for in inA

out

True if inA contains inB

fromIndex

The zero-based index to start checking for inB in inA

startIndex

The index where inB was found, or -1 if it wasn't found

afterIndex

The index in inA immediately after where inB was found, or -1 if it wasn't found

inA StatusStr? <summary>

Defines the Str to check for inB

inB StatusStr? <summary>

The Str to look for in inA

out StatusBool <readonly, summary, transient>

True if inA contains inB

fromIndex Int <val:0>

The zero-based index to start checking for inB in inA.

startIndex Int <readonly, transient, val:-1>

The index where inB was found, or -1 if it wasn't found

afterIndex Int <readonly, transient, val:-1>

The index in inA immediately after where inB was found, or -1 if it wasn't found

Haxall 4.0.5 ∙ 24-Feb-2026 14:33 EST