Built-In Functions
This section will be a treasure trove for many script writers. Every single built-in function is described here; every helpfile shows exactly what each function takes in and what they spit out.
Time Functions:
stime strftime tdiff tdiff2 time utime
Pattern Matching:
match pattern regcomp regerror regex regexec regfree rmatch rpattern
Character Operations:
ascii chr
String Operations:
after before cparse index left mid msar right rindex sar strchr strrchr
Word Operations:
afterw beforew findw insertw leftw midw numwords restw rightw
Array Operations:
delarray delitem finditem getarrays getitem getmatches getrmatches gettmatch
ifindfirst ifinditem igetitem igetmatches igetrmatches indextoitem itemtoindex
matchitem numarrays numitems rmatchitem setitem
Miscellaneous:
aliasctl
|
remw
|
strcmp
|
||||
|
midw
|
remws
|
strftime
|
|||
|
mp3time
|
rest
|
strip
|
|||
|
msar
|
restw
|
strlen
|
|||
|
numarrays
|
reverse
|
strrchr
|
|||
|
numitems
|
revw
|
time
|
|||
|
numsort
|
tolower
|
||||
|
numwords
|
toupper
|
||||
|
onchannels
|
tr
|
||||
|
open
|
twiddle
|
||||
|
pattern
|
rmatchitem
|
uname
|
|||
|
pop
|
rpattern
|
unlink
|
|||
|
push
|
sar
|
unshift
|
|||
|
rand
|
setitem
|
utime
|
|||
|
read
|
shift
|
winnum
|
|||
|
regcomp
|
sort
|
winsize
|
|||
|
regerror
|
srand
|
word
|
|||
|
regexec
|
status
|
write
|
|||
|
regfree
|
strchr
|
xmms
|