1 | static S replaceSuffixIC(S a, S b, S s) { |
2 | if (endsWithIC(s, a)) ret dropLast(s, l(a)) + b; |
3 | ret s; |
4 | } |
Began life as a copy of #1011101
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: | #1011103 |
Snippet name: | replaceSuffixIC |
Eternal ID of this version: | #1011103/3 |
Text MD5: | 7a387f18b9e6857376617f0dd884a4ab |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-10-12 20:00:19 |
Source code size: | 106 bytes / 4 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 465 / 492 |
Version history: | 2 change(s) |
Referenced in: | [show references] |