Note | ||
---|---|---|
| ||
As of July 25th, 2023, there is a content freeze on this page. |
This function trims all leading and trailing spaces from a string.
Parameters:
- string – the string from which all leading and trailing spaces will be removed.
Example:
Code Block | ||||
---|---|---|---|---|
| ||||
var myName = trim(" Michael "); // places "Michael" into myName |
...