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

6
LINES

< > BotCompany Repo | #1017951 // tok_splitAtVerticalBar

JavaX fragment (include)

1  
static LS tok_splitAtVerticalBar(S s) {
2  
  if (!contains(s, '|')) ret ll(s);
3  
  ret splitAtTokens(javaTokPlusBrackets2(s), tok_splitAtVerticalBar_list);
4  
}
5  
6  
static LS tok_splitAtVerticalBar_list = ll("|");

Author comment

Began life as a copy of #1017950

download  show line numbers  debug dex  old transpilations   

Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1017951
Snippet name: tok_splitAtVerticalBar
Eternal ID of this version: #1017951/2
Text MD5: 1346fa197b67642cea47d5d0ec237cc0
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-08-22 23:52:45
Source code size: 207 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 421 / 427
Version history: 1 change(s)
Referenced in: [show references]