strStripTrailing

fnSeries strStripTrailing(Series s)

Ditto, trailing whitespace only.