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

7
LINES

< > BotCompany Repo | #1009510 // textIn_or - split strings given as "a, b or c"

JavaX fragment (include)

static L<S> textIn_or(S s) {
  new L<S> l;
  for (S t : javaTokC(s))
    if (!eqicOneOf(t, ",", "or"))
      l.add(t);
  ret l;
}

Author comment

Began life as a copy of #1009473

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: #1009510
Snippet name: textIn_or - split strings given as "a, b or c"
Eternal ID of this version: #1009510/3
Text MD5: d5196d0cec40da54f6170f4c6f27e4aa
Author: stefan
Category: javax / a.i.
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-08-05 22:02:07
Source code size: 135 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 471 / 497
Version history: 2 change(s)
Referenced in: [show references]