Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

This function trims trailing spaces from a string.

Parameters:

  • string – the string from which the trailing spaces will be removed.

Example:

Code Block
javascript
javascript

var myName = rtrim("Michael ");   // places "Michael" into myName

...