Lua code - System testgo("#137") -- split
go("#121") -- compare tables
assert(compareTables(split("1:23", ":"), {"1","23"}))
print "split works."
return truetest 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
2 comment(s) hidden. show
| Recognizer | Recognition Result | Visualize | Recalc |
|---|---|---|---|
| #308 | 145 | [visualize] |
| Snippet ID: | #138 |
| Snippet name: | String split function (test) |
| Eternal ID of this version: | #138/1 |
| Text MD5: | 23a0406a592a52051f27b76e69eb7d67 |
| Author: | stefan |
| Category: | |
| Type: | Lua code - System test |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2014-01-12 17:19:46 |
| Source code size: | 145 bytes / 7 lines |
| Pitched / IR pitched: | No / Yes |
| Views / Downloads: | 2028 / 329 |
| Referenced in: | [show references] |