Method: str::trim

A more brutal way to trim.

It removes double spaces.
Can be useful in some cases but
be careful as it might remove too much.

Info

Syntax

str::trim($string)

Parameters

Return (string)

The trimmed string