1 | static S ocr_joinGroups(L<S> l) { |
2 | new StringBuilder buf; |
3 | for (S s : dropElement(l, "_")) |
4 | buf.append(s.startsWith("[") && s.endsWith("]") ? substring(s, 1, l(s)-1) : s); |
5 | ret str(buf); |
6 | } |
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, sawdedvomwva, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1006199 |
Snippet name: | ocr_joinGroups |
Eternal ID of this version: | #1006199/1 |
Text MD5: | c0346e62ca17321fa9a585acbb3e1421 |
Author: | stefan |
Category: | javax / ocr |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2016-12-26 00:25:01 |
Source code size: | 199 bytes / 6 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 515 / 540 |
Referenced in: | [show references] |