Project

General

Profile

Actions

$sorttokcs » History » Revision 1

Revision 1/2 | Next »
Per Amundsen, 08/10/2015 06:18 AM


Added in 1.9.0

$sorttokcs(text,C,ncra)

Sorts the tokens in text.

$sorttokcs is case-sensitive, see $sorttok for case-insensitive version.

Parameters

text - The text to tokenize.
C - The ASCII value to tokenize by.
ncra - n = numeric sort, c = channel nick prefix sort, r = reverse sort, a = alphanumeric sort. (Default is an alphabetic sort)

Example

; Sort the tokens alphanumeric
//echo -ag $sorttokcs(e.D.c.b.a,46)

Updated by Per Amundsen over 9 years ago · 1 revisions

Also available in: PDF HTML TXT