Revwords()

From TinyMUX
Jump to navigation Jump to search


revwords(<string>[, <idelim>[, <odelim>]])

Reverses the order of the words of <string>. A word is considered to be any sequence of non-blank characters, separated by blanks, so punctuation characters that follow a word are considered part of the word.

<idelim> may be used to specify an input delimiter other than a space.
<odelim> is the output delimiter.

Related Topics

reverse()