Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.



Excerpt
hiddentrue

trim(string) Removes leading and trailing white spaces from a string.


Function: trim()

Removes leading and trailing white spaces from a string, returning the cleansed string.

...

ArgumentTypeDescription
stringStringThe string to be cleansed.

Examples

trim(" ABCDEF ")

Returns "ABCDEF".

See Also