get("#515") -- splitLines
text = getSnippet("#2000025")
lines = splitLines(text)
header = lines[1]:gsub(" +", " "):gsub("^ ", ""):gsub(" $", "")
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: | 948 / 214 | 
| Referenced in: | [show references] |