The /shorten command can be used to shorten a phrase, which is useful for trimming a prompt before using it
Input text can be inline text, or variables and the trimmed output will replace the command in the content window, or the output can be directed to a variable.
Example1: Shorten a phrase to the length of 5 (Example: hello)
/shorten 5 [hello world]
Example 2: Shorten a phrase to the length of 5 characters and add "..." to the end (Example: hello...)
/shorten 5 ... [hello world]
readmore (text to append)
The following alias can also be used to shorten a phrase