1 | static S dropUntilSpace(S s) { |
2 | if (s == null) ret ""; |
3 | int i = s.indexOf(' ')+1; |
4 | while (i < l(s) && s.charAt(i) == ' ') ++i; |
5 | ret s.substring(i); |
6 | } |
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1002682 |
Snippet name: | dropUntilSpace - drop characters up and including to the first space(s) |
Eternal ID of this version: | #1002682/1 |
Text MD5: | e8fca1bd852fdc844720e2f88b649294 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-02-13 03:52:28 |
Source code size: | 158 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 808 / 762 |
Referenced in: | [show references] |