str_trim
Removes whitespace characters (space, tab, newline, carriage return, vertical tab, form feed) from both ends.
str_trim(
str
) -> STRING
Removes whitespace characters (space, tab, newline, carriage return, vertical tab, form feed) from both ends.
Syntaxe
var result = str_trim(" \tHello World\n ");
Arguments
| Name | Type | Required | Default | Description |
|---|---|---|---|---|
str | yes | - | String to trim |