Warning: session_start(): open(/var/lib/php/sessions/sess_gs57soprkgsjqel36f0efj9rr6, O_RDWR) failed: No space left on device (28) in /var/www/tb-usercake/models/config.php on line 51

Warning: session_start(): Failed to read session data: files (path: /var/lib/php/sessions) in /var/www/tb-usercake/models/config.php on line 51
smartIndexOfIC - returns l(s) if not found [1013159]

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

8
LINES

< > BotCompany Repo | #1013159 // smartIndexOfIC - returns l(s) if not found

JavaX fragment (include)

static int smartIndexOfIC(L<S> l, S sub) {
  ret smartIndexOfIC(l, sub, 0);
}

static int smartIndexOfIC(L<S> l, S sub, int start) {
  int i = indexOfIC(l, sub, start);
  ret i < 0 ? l(l) : i;
}

Author comment

Began life as a copy of #1002497

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: #1013159
Snippet name: smartIndexOfIC - returns l(s) if not found
Eternal ID of this version: #1013159/2
Text MD5: b3bf0f3895404615f61790b7eed5a851
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-04-12 18:06:05
Source code size: 201 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 819 / 819
Version history: 1 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)