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

6
LINES

< > BotCompany Repo | #1020306 // containsWord_vbar

JavaX fragment (include)

1  
static bool containsWord_vbar(S s, S words) {
2  
  LS tok = javaTokC(s);
3  
  for (S word : tok_splitAtVerticalBar(words))
4  
    if (cic(tok, word)) true;
5  
  false;
6  
}

Author comment

Began life as a copy of #1011436

download  show line numbers  debug dex  old transpilations   

Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, gwrvuhgaqvyk, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1020306
Snippet name: containsWord_vbar
Eternal ID of this version: #1020306/1
Text MD5: 4dd816c14df95d1efcfc34cb1a3707d3
Author: stefan
Category: javax / parsing
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-12-13 17:08:35
Source code size: 162 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 317 / 336
Referenced in: [show references]