static S replaceSuffix(S a, S b, S s) { ret endsWith(s, a) ? dropLast(s, l(a)) + b : s; }
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1011101 |
Snippet name: | replaceSuffix |
Eternal ID of this version: | #1011101/4 |
Text MD5: | c77aadb5220ed31e669c678aedc98e51 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-07-16 16:00:21 |
Source code size: | 93 bytes / 3 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 483 / 526 |
Version history: | 3 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1011103 - replaceSuffixIC |