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

6
LINES

< > BotCompany Repo | #1006199 // ocr_joinGroups

JavaX fragment (include)

static S ocr_joinGroups(L<S> l) {
  new StringBuilder buf;
  for (S s : dropElement(l, "_"))
    buf.append(s.startsWith("[") && s.endsWith("]") ? substring(s, 1, l(s)-1) : s);
  ret str(buf);
}

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: 516 / 540
Referenced in: #1006257 - ocr_joinGroups2
#1006654 - Standard functions list 2 (LIVE, continuation of #761)