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

4
LINES

< > TinyBrain | #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   

Travelled to 2 computer(s): cfunsshuasjs, tvejysmllsmz

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: 33 / 54
Referenced in: [show]