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

4
LINES

< > BotCompany Repo | #1009200 // indexOfAfter - return index of character after match

JavaX fragment (include)

static int indexOfAfter(S a, S b) {
  int i = indexOf(a, b);
  ret i >= 0 ? i+l(b) : 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: #1009200
Snippet name: indexOfAfter - return index of character after match
Eternal ID of this version: #1009200/1
Text MD5: 1f5bcc64c5775fe8cbff28368b2422f2
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-07-15 23:19:32
Source code size: 92 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 582 / 549
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1013030 - smartIndexOfAfter - return index of character after match