1 | static bool startsWith_trim(S a, S b, Matches m) { |
2 | if (!startsWith(a, b)) false; |
3 | m.m = new S[] {trim(substring(a, l(b)))}; |
4 | true; |
5 | } |
Began life as a copy of #1011049
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1017796 |
Snippet name: | startsWith_trim - trim matches |
Eternal ID of this version: | #1017796/1 |
Text MD5: | d477ea51ef1ae7ac6e2b7c35904a991e |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-08-12 15:00:38 |
Source code size: | 140 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 391 / 434 |
Referenced in: | [show references] |