1 | static L<S> tok_splitAtAndFromMiddle(S s) { |
2 | L<S> tok = javaTok(s); |
3 | int i = indexOfSearchingFromMiddleIC(tok, "and"); |
4 | if (i < 0 || i <= 1 || i >= l(tok)-2) ret ll(s); |
5 | ret ll(trimJoinSubList(tok, 0, i), trimJoinSubList(tok, i+1)); |
6 | } |
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: | 319 / 367 |
Referenced in: | [show references] |