Functionalities
Functions
Data
Other
$textBetween
Returns the content between the `first` and `last` fields.

FUNCTION USAGE

  • $textBetween[content;first;last]

Properties:

content - The content being reviewed by the function. first - The first word the function will be looking for in the 1st field. last - The last word the function will be looking for in the 1st field.

Example 1: Returns - two three four

bot.Command({
name: "test",
code:`
$textBetween[one two three four five;1;5]
`})
Copy link