/
trim

trim



Function: trim()

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

Syntax

trim(string)

ArgumentTypeDescription
stringStringThe string to be cleansed.

Examples

trim(" ABCDEF ")

Returns "ABCDEF".

See Also

Related content

replaceFirst
replaceFirst
Read with this
trim
More like this
trim
trim
More like this
trim
More like this
trim
trim
More like this
trim
trim
More like this