1 | static boolean swic(S a, S b) {
|
2 | ret startsWithIgnoreCase(a, b); |
3 | } |
4 | |
5 | ifclass Matches |
6 | static bool swic(S a, S b, Matches m) {
|
7 | if (!swic(a, b)) false; |
8 | m.m = new S[] {substring(a, l(b))};
|
9 | true; |
10 | } |
11 | endif |
Began life as a copy of #1001499
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: | #1002835 |
| Snippet name: | swic - synonym of startsWithIgnoreCase |
| Eternal ID of this version: | #1002835/2 |
| Text MD5: | d51fdd5af13278af7bf2c718689c641b |
| Author: | stefan |
| Category: | |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2017-05-28 18:38:23 |
| Source code size: | 224 bytes / 11 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 1545 / 2242 |
| Version history: | 1 change(s) |
| Referenced in: | [show references] |