Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

6
LINES

< > BotCompany Repo | #1002682 // dropUntilSpace - drop characters up and including to the first space(s)

JavaX fragment (include)

static S dropUntilSpace(S s) {
  if (s == null) ret "";
  int i = s.indexOf(' ')+1;
  while (i < l(s) && s.charAt(i) == ' ') ++i;
  ret s.substring(i);
}

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: 727 / 673
Referenced in: [show references]