# $EPIC: revw.txt,v 1.2 2006/08/19 06:07:20 sthalik Exp $
$revw(<word list>)
Index in <word list> | Index in return value |
---|---|
0 | <L> |
1 | <L-1> |
2 | <L-2> |
… | … |
<L-2> | 2 |
<L-1> | 1 |
<L> | 0 |
This function should be pretty self-explanatory.
A copy of <word list> with the words in reverse order.
$revw(welcome to our channel) returns "channel our to welcome"
This function first appeared in “+6” (post-ircII, pre-EPIC)