-- choices for sep are a bit limited, this can probably -- be done better - but for ":" it works (clock parsing), -- so no need to invest further here. function split(s, sep) local result = {} for token in string.gmatch(s, "[^"..sep.."]+") do table.insert(result, token) end return result end
test run test run with input download show line numbers
Travelled to 12 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Recognizer | Recognition Result | Visualize | Recalc |
---|---|---|---|
#308 | 313 | [visualize] |