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

3
LINES

< > BotCompany Repo | #1010559 // dropSuffixIC - note the (maybe) curious argument order

JavaX fragment (include)

static S dropSuffixIC(S suffix, S s) {
  ret s == null ? null : ewic(s, suffix) ? s.substring(0, l(s)-l(suffix)) : s;
}

Author comment

Began life as a copy of #1002048

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: #1010559
Snippet name: dropSuffixIC - note the (maybe) curious argument order
Eternal ID of this version: #1010559/1
Text MD5: 5de71594a4d7bd2fcc2af9bc40f347e5
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-09-21 16:28:06
Source code size: 121 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 541 / 534
Referenced in: [show references]