Revwords(): Difference between revisions

From TinyMUX
Jump to navigation Jump to search
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...
 
(No difference)

Latest revision as of 21:38, 25 November 2010


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.

reverse()