_s without the spaces, tabs and line breaks at its end. The same as trim_right.
eat_trailing_spaces :: (_s: string) -> string
Parameters
- _s: string
Returns
- string
assert(eat_trailing_spaces("word \t\n") == "word");_s without the spaces, tabs and line breaks at its end. The same as trim_right.
eat_trailing_spaces :: (_s: string) -> string
assert(eat_trailing_spaces("word \t\n") == "word");