1 | static S afterTab(S s) { |
2 | if (s == null) ret ""; |
3 | int i = s.indexOf('\t')+1; |
4 | while (i < l(s) && s.charAt(i) == '\t') ++i; |
5 | ret s.substring(i); |
6 | } |
Began life as a copy of #1002682
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1018516 |
Snippet name: | afterTab - drop characters up and including to the first tab(s) |
Eternal ID of this version: | #1018516/1 |
Text MD5: | a8abf20a1245458c76e0a5f37dc8b7d6 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-10-02 23:41:53 |
Source code size: | 154 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 354 / 375 |
Referenced in: | [show references] |