$getTextSplitIndex

Retrieves index from the provided value in $textSplit[]. Returns -1 if it couldn’t find the value.

Syntax

$getTextSplitIndex[Value]

Parameters

  • Value (Type: String || Flag: Emptiable): The value to search in the text split.

Example

$nomention
$textSplit[hello_world_!;_]
> $getTextSplitIndex[$message]
!example world 2 !example bdfd -1

For more info, see the Text Splitting Guide.