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

10
LINES

< > BotCompany Repo | #1018728 // firstStartingWithIC_drop - drop prefix

JavaX fragment (include)

static S firstStartingWithIC_drop(Collection<S> l, fS prefix) {
  for (S s : unnull(l))
    if (swic(s, prefix))
      ret substring(s, l(prefix));
  null;
}

static S firstStartingWithIC_drop(S prefix, Collection<S> l) {
  ret firstStartingWithIC_drop(l, prefix);
}

Author comment

Began life as a copy of #1018727

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: #1018728
Snippet name: firstStartingWithIC_drop - drop prefix
Eternal ID of this version: #1018728/1
Text MD5: dab84c23db1b6ba4c2f5e5a59f7a1f32
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-10-12 00:41:55
Source code size: 275 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 233 / 272
Referenced in: [show references]