$cropText
Crops the provided text. If text is cropped then the ending
is added at the end of the text.
Usage
$cropText[text;maxCharacters;ending]
Parameters
text
(Type: String || Flag: Emptiable)
: The text to crop.maxCharacters
(Type: Integer || Flag: Required)
: The maximum amount of characters. Subsequent characters are removed.ending
(Type: String || Flag: Emptiable)
: The text to end the cropped text with (if the text was cropped).
Example
$nomention
$cropText[$noMentionMessage;100;...]