$getTextSplitIndex
Retrieves index from the provided value in $textSplit
. Returns -1 if it couldn't find the value.
Usage
$getTextSplitIndex[value]
Parameters
value
(Type: String || Flag: Emptiable)
: The value to search in the text split.
Example
$nomention
$textSplit[Cake-Bread;-]
$getTextSplitIndex[$message[1]]