Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

6
LINES

< > BotCompany Repo | #1006257 // ocr_joinGroups2

JavaX fragment (include)

static L<S> ocr_joinGroups2(L<S> l) {
  new L<S> l2;
  for (S s : l)
    l2.add(s.startsWith("[") && s.endsWith("]") ? substring(s, 1, l(s)-1) : s);
  ret l2;
}

Author comment

Began life as a copy of #1006199

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: #1006257
Snippet name: ocr_joinGroups2
Eternal ID of this version: #1006257/1
Text MD5: ab1ca50dadb5f01c125f19bd3e363b7f
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:33
Source code size: 165 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 462 / 480
Referenced in: [show references]