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