Revwords()

From TinyMUX
Revision as of 21:38, 25 November 2010 by Ihavenomouth (talk | contribs) (New page: Category:Functions {{Function|revwords(<string>[, <idelim>[, <odelim>]])}} Reverses the order of the words of <string>. A word is considered to be any sequence of non-blank characte...)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
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()