!636 !standard functions !quicknew main { psvm { // example line: 2015-08-12 05:29:10 - http://tinybrain.de:8080/tb/my-actions.php String src = loadSnippet("#2000518"); new List<String> actions; for (String line : toLines(src)) { int i = line.indexOf(" - http:"); if (i >= 0) actions.add(line.substring(i+3).trim()); } System.out.println(actions); } }
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, teubizvjbppd, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1000563 | 
| Snippet name: | Parse "My actions" | 
| Eternal ID of this version: | #1000563/1 | 
| Text MD5: | 6dfbcaa2ab81ddd2bbdc9ccf294a98f8 | 
| Author: | stefan | 
| Category: | |
| Type: | JavaX source code | 
| Public (visible to everyone): | Yes | 
| Archived (hidden from active list): | No | 
| Created/modified: | 2015-08-14 17:50:17 | 
| Source code size: | 422 bytes / 18 lines | 
| Pitched / IR pitched: | No / Yes | 
| Views / Downloads: | 863 / 772 | 
| Referenced in: | [show references] |