Functionalities
Other
Powered By GitBook
$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

1
bot.Command({
2
name: "test",
3
code:`
4
$textBetween[one two three four five;1;5]
5
`})
Copied!
Last modified 3mo ago
Copy link
Contents
Properties: