static L<S> substrings(S s, L<IntRange> ranges) { new L<S> out; for (IntRange range : ranges) out.add(substring(s, range)); ret out; }
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: | #1008770 |
Snippet name: | substrings - map(f substring) on L<IntRange> |
Eternal ID of this version: | #1008770/1 |
Text MD5: | 2d06c5418daad6c1b1456927078806f4 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-06-02 12:09:07 |
Source code size: | 149 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 463 / 499 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |