Project

General

Profile

Actions

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

Parameter Description
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 about 1 year ago · 2 revisions

Also available in: PDF HTML TXT