static S dropPrefixOrNull(S prefix, S s) { ret s != null && s.startsWith(prefix) ? s.substring(l(prefix)) : null; }
Began life as a copy of #1002110
download show line numbers debug dex old transpilations
Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, ekrmjmnbrukm, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1020746 |
| Snippet name: | dropPrefixOrNull |
| Eternal ID of this version: | #1020746/1 |
| Text MD5: | 10e596e4c6ef8ea94a52bb0304a1d389 |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2019-01-01 16:51:51 |
| Source code size: | 119 bytes / 3 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 865 / 913 |
| Referenced in: | [show references] |