Anonymous user
Abbreviations, easy: Difference between revisions
m
→{{header|AutoHotkey}}
No edit summary |
|||
Line 186:
=={{header|AutoHotkey}}==
<lang AutoHotKey>; Setting up command table as one string
str =
Line 204 ⟶ 203:
comTable := StrSplit(RegExReplace(str, "\s+", " "), " ")
comTableCapsCount := []
for cmds in comTable
comTableCapsCount.push(StrLen(RegExReplace(comTable[cmds], "[a-z]")))
; Take and process user input into an array of abbreviations
|