$textTrim
$textTrim
will remove all extra spaces, multiple spaces after one space, and replaces those with one single space.
Usage
Parameters
Field | Type | Description | Required |
---|---|---|---|
text | string | The text to be trimmed. | true |
Example(s)
This will remove any extra spaces of the given text, in this case it would return Imagine a string package.
: