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

5
LINES

< > BotCompany Repo | #1012242 // tok_smartIndexOfFirstSpace

JavaX fragment (include)

1  
static int tok_smartIndexOfFirstSpace(L<S> tok, int i) {
2  
  for (; i < l(tok); i++)
3  
    if (even(i) && nempty(tok.get(i))) ret i;
4  
  ret i;
5  
}

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: #1012242
Snippet name: tok_smartIndexOfFirstSpace
Eternal ID of this version: #1012242/2
Text MD5: a544856c980f17bcc1fd35a0ae6ca4f1
Author: stefan
Category: javax / parsing
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-11-26 12:39:01
Source code size: 143 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 447 / 468
Version history: 1 change(s)
Referenced in: [show references]