static bool startsWithWord(S a, S b, Matches m) { if (!endsWithLetterOrDigit(b)) b += " "; if (!startsWithIC(a, b)) false; if (m != null) m.m = new S[] {trim(substring(a, l(b)))}; true; } static bool startsWithWord(S a, S b) { ret startsWithWord(a, b, null); }
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: | #1008057 |
Snippet name: | startsWithWord |
Eternal ID of this version: | #1008057/6 |
Text MD5: | 3b42e2b602f6817ef6d5616a81474b9b |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-10-08 23:00:35 |
Source code size: | 280 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 610 / 626 |
Version history: | 5 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1008263 - startsWithWords - synonym of startsWithWord |