Deletes spaces before the first letter and after the last letter of the string.
trim($group)
or
trim(string)
Requires a single argument of a string value (named group or constant).
The same string without spaces before and after the string.
trim(" ABC ") returns "ABC".