1 | static S dropSuffixIgnoreCase(S suffix, S s) { |
2 | ret 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: | #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: | 616 / 600 |
Referenced in: | [show references] |