Returns a string that trimmed from the given string
Optional
the string to trim
whether to return null if the trimmed result is empty
the trimmed string value from the given string
trim("foobar", true); // 'foobar' Copy
trim("foobar", true); // 'foobar'
Returns a string that trimmed from the given string