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

5
LINES

< > BotCompany Repo | #1018463 // afterFirstOccurrenceOf

JavaX fragment (include)

static S afterFirstOccurrenceOf(S s, S pat) {
  if (s == null) null;
  int i = indexOf(s, pat);
  ret i < 0 ? null : substring(s, i+l(pat));
}

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: #1018463
Snippet name: afterFirstOccurrenceOf
Eternal ID of this version: #1018463/1
Text MD5: 52254deb4f19c3d90044988d3ff432c6
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-09-30 22:40:22
Source code size: 146 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 320 / 388
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)