sS insertAfter(S s, S a, S b) { int i = indexOf(s, a); ret i < 0 ? s : insertAt(s, i+l(a), b); }
Began life as a copy of #1028493
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
| Snippet ID: | #1028563 |
| Snippet name: | insertAfter - insert a string after first occurrence of a substring |
| Eternal ID of this version: | #1028563/1 |
| Text MD5: | e3d25d68e701b3c78efcddca6bd7f460 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2020-06-27 12:13:08 |
| Source code size: | 103 bytes / 4 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 424 / 445 |
| Referenced in: | [show references] |