Function: trim()
Removes leading and trailing white spaces from a string, returning the cleansed string.
Syntax
trim(string)
Argument | Type | Description |
---|---|---|
string | String | The string to be cleansed. |
Examples
trim(" ABCDEF ")
Returns "ABCDEF".
Removes leading and trailing white spaces from a string, returning the cleansed string.
trim(string)
Argument | Type | Description |
---|---|---|
string | String | The string to be cleansed. |
trim(" ABCDEF ")
Returns "ABCDEF".