1 | static S extractLine(S s, int i) { |
2 | ret substring(s, i, min(smartIndexOf(s, "\n", i), smartIndexOf(s, "\r", i))); |
3 | } |
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1005057 |
Snippet name: | extractLine - extract line from text starting at index |
Eternal ID of this version: | #1005057/1 |
Text MD5: | b1e64a13d1713eb0330ac23957527f77 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-10-03 20:56:00 |
Source code size: | 118 bytes / 3 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 558 / 563 |
Referenced in: | [show references] |