Step - r_trim

r_trim · rTrim · category: Strings and type conversion

Removes trailing whitespace (Unicode White_Space) from each string.

Forms

r_trim()
r_trim(arg1: Scope)

Example

g.inject(" a  ").r_trim().next()   // a