-
WikiChip
WikiChip
-
Architectures
Popular x86
-
Intel
- Client
- Server
- Big Cores
- Small Cores
-
AMD
Popular ARM
-
ARM
- Server
- Big
- Little
-
Cavium
-
Samsung
-
-
Chips
Popular Families
-
Ampere
-
Apple
-
Cavium
-
HiSilicon
-
MediaTek
-
NXP
-
Qualcomm
-
Renesas
-
Samsung
-
From WikiChip
$sorttok identifier - mIRC
< mirc | identifiers
Commands & Identifiers
Basics
Events
Matching Tools
Data Storage
Control Structures
GUI Scripting
Sockets
Advanced Scripting
Additional Resources
Security
Other
- mIRC Installation
- Virtual profile
- Playing music
- Unicode
- IPv6
- Optimization
- Threads
- DCC Protocols
- Line Length Limit
- Font rendering
$sorttok sorts the tokens in text. $sorttokcs is the case sensitive version
Synopsis
$sorttok(<list>,C[,nrca]) $sorttokcs(<list>,C[,nrca])
Parameters
- <list> - The list of tokens (can be empty)
- <C> - The ascii number (or code point) of the character seperating the tokens
- ncra - default is alphabetical sort (ASCII order) if 3rd parameter not used, n = numeric sort; c = channel prefix sort; r = reverse; a = ASCII sort
Note: 'a' sort is case-insensitive. For case-insensitive use $sorttokcs
Properties
None
Example
//echo -a $sorttok(C a c b A B,32,a) //echo -a Sorted in ASCII order: $sorttok( $chr(10004) $chr(9650) $chr(9660) , 32)
alias NumericMax { return $gettok($sorttok($1- , 32 , rn),1,32) }
Compatibility
Added: mIRC v4.7
Added on: 09 Dec 1996
Note: Unless otherwise stated, this was the date of original functionality.
Further enhancements may have been made in later versions.
See also
[Expand]