Trim trailing whitespace (string.rtrim)
Declaration
Parameters
- text
string. Text to trim.
Returns
- out
string. The text with trailing whitespace removed.
Description
Remove trailing whitespace characters.
Whitespace includes "\r" "\n" "\t".
Example
At the end of this chapter