Next: , Previous: , Up: String Functions   [Contents][Index]


15.6.2 rtrim

The standard function rtrim provides the following interface:

fun rtrim = (string s, string cs = " \t") string: { … }

It returns a copy of the input string s with any trailing character that also appears in cs removed.