Get the trimmed string.
Strip whitespace from the beginning and end of the specified string
Syntax:
$str.trim( string )
Returns:
the trimmed string.
Version Since:
1.0
Example:
$str.trim( "sip:user@domain" )= (.+)
Get the trimmed string. It will be “sip:user@domain”.