standard.lib.str.rtrim

rtrim is available since version 1.0.

Prototype:

string rtrim(string str)

Description:

Right trims a string. A right trimmed string is a string that contains no spaces or tabs at the end.

Return value:

Returns the right trimmed string.