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

3
LINES

< > BotCompany Repo | #1004297 // dropPrefixICTrim - IC = ignore case

JavaX fragment (include)

1  
static S dropPrefixICTrim(S prefix, S s) {
2  
  ret trim(swic(s, prefix) ? s.substring(l(prefix)) : s);
3  
}

Author comment

Began life as a copy of #1002499

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1004297
Snippet name: dropPrefixICTrim - IC = ignore case
Eternal ID of this version: #1004297/1
Text MD5: 8860dfdc385bc81cd2779a9a44b9489c
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-08-12 22:56:38
Source code size: 104 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 641 / 675
Referenced in: [show references]