static L<S> tok_splitAtAndFromMiddle(S s) { L<S> tok = javaTok(s); int i = indexOfSearchingFromMiddleIC(tok, "and"); if (i < 0 || i <= 1 || i >= l(tok)-2) ret ll(s); ret ll(trimJoinSubList(tok, 0, i), trimJoinSubList(tok, i+1)); }
Began life as a copy of #1013108
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: | #1013112 |
Snippet name: | tok_splitAtAndFromMiddle |
Eternal ID of this version: | #1013112/1 |
Text MD5: | 785673bc7cfb3c1174f237506c2f963b |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-12-25 21:57:28 |
Source code size: | 243 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 317 / 365 |
Referenced in: | [show references] |