Project

General

Profile

$sorttokcs » History » Version 1

Per Amundsen, 08/10/2015 06:18 AM

1 1 Per Amundsen
_Added in 1.9.0_
2
3
*$sorttokcs(text,C,ncra)*
4
5
Sorts the tokens in text.
6
7
_[[$sorttokcs]] is case-sensitive, see [[$sorttok]] for case-insensitive version._
8
9
*Parameters*
10
11
text - The text to tokenize.
12
C - The "ASCII":http://www.asciitable.com/ value to tokenize by.
13
ncra - n = numeric sort, c = channel nick prefix sort, r = reverse sort, a = alphanumeric sort. (Default is an alphabetic sort)
14
15
*Example*
16
17
<pre>
18
; Sort the tokens alphanumeric
19
//echo -ag $sorttokcs(e.D.c.b.a,46)
20
</pre>