1 | static S dropSuffixIC(S suffix, S s) {
|
2 | ret s == null ? null : ewic(s, suffix) ? s.substring(0, l(s)-l(suffix)) : s; |
3 | } |
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: | 815 / 814 |
| Referenced in: | [show references] |