static S dropSuffixICOneOf(S s, S... suffixes) { if (s == null) null; for (S suffix : suffixes) if (ewic(s, suffix)) ret s.substring(0, l(s)-l(suffix)); ret s; }
Began life as a copy of #1010559
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: | #1015986 |
Snippet name: | dropSuffixICOneOf |
Eternal ID of this version: | #1015986/1 |
Text MD5: | b6c891241dd249226ddead4e8b00f5f8 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-06-02 19:22:38 |
Source code size: | 185 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 389 / 382 |
Referenced in: | [show references] |