1 | function stuffAfterColon(input) |
2 | local i = input:find(':') |
3 | return i and input:sub(i+1) or input |
4 | 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 | 105 | [visualize] |
Snippet ID: | #243 |
Snippet name: | stuffAfterColon |
Eternal ID of this version: | #243/1 |
Text MD5: | f5a81fa68db76d1c5424680c7fe9439b |
Author: | stefan |
Category: | string functions |
Type: | Lua code |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2014-02-28 14:07:28 |
Source code size: | 105 bytes / 4 lines |
Pitched / IR pitched: | Yes / Yes |
Views / Downloads: | 1295 / 248 |
Referenced in: | [show references] |