trimEnd

fnIStr trimEnd(IStr str)

Removes whitespace characters from the end of the string.