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

3
LINES

< > BotCompany Repo | #1003026 // dropSuffixIgnoreCase

JavaX fragment (include)

static S dropSuffixIgnoreCase(S suffix, S s) {
  ret 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: #1003026
Snippet name: dropSuffixIgnoreCase
Eternal ID of this version: #1003026/1
Text MD5: c4c631be0e14004946aed18889c5f47c
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-04-20 20:46:04
Source code size: 110 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 615 / 598
Referenced in: [show references]