1 | get("#515") -- splitLines
|
2 | text = getSnippet("#2000025")
|
3 | lines = splitLines(text) |
4 | header = lines[1]:gsub(" +", " "):gsub("^ ", ""):gsub(" $", "")
|
5 | print(header) |
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
| Snippet ID: | #523 |
| Snippet name: | Print compacted table header for snippet type identification purposes |
| Eternal ID of this version: | #523/1 |
| Text MD5: | f96e5a2055defac6ff4e80f380c7ad43 |
| Author: | stefan |
| Category: | |
| Type: | Lua code |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2015-03-11 19:21:00 |
| Source code size: | 162 bytes / 5 lines |
| Pitched / IR pitched: | No / Yes |
| Views / Downloads: | 950 / 214 |
| Referenced in: | [show references] |