loadSnippet(121)() -- compareTables
assert(compareTables(split("abc def"), {"abc", "def"}))
assert(compareTables(split(" de! \t apl2% \t"), {"de!", "apl2%"}))
return truetest run test run with input pitch 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 | 177 | [visualize] |
| Snippet ID: | #126 |
| Snippet name: | Split string (spaces) - test case |
| Eternal ID of this version: | #126/1 |
| Text MD5: | cbaf5fa92a6e9079e5cfa8d1ffa4aa49 |
| Author: | stefan |
| Category: | general lua functions |
| Type: | Lua code - Test case |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2014-01-10 19:38:17 |
| Source code size: | 177 bytes / 5 lines |
| Pitched / IR pitched: | Yes / Yes |
| Views / Downloads: | 2383 / 453 |
| Referenced in: | [show references] |