revwords - luxembourg/muxcode-clm GitHub Wiki
REVWORDS()
FUNCTION: 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.
Examples: > say revwords(This is a test. Really...) You say, "Really... test. a is This" > say revwords(Was it a cat I saw?) You say, "saw? I cat a it Was"
Related Topics: reverse