# trim()

```
string trim(string)
```

`trim()` returns the given string argument without leading and trailing whitespace. The following characters are considered whitespace: space, newline, carriage return, tab, vertical tab.

Example:

```
trim("  xy
  ")
```

returns `xy`.
