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

6
LINES

< > BotCompany Repo | #1020307 // containsPhrase_vbar

JavaX fragment (include)

static bool containsPhrase_vbar(S s, S phrases) {
  LS tokS = javaTokNPunctuationC(s);
  for (S phrase : tok_splitAtVerticalBar(phrases))
    if (containsSubListIC(tokS, javaTokNPunctuationC(phrase))) true;
  false;
}

Author comment

Began life as a copy of #1020306

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: #1020307
Snippet name: containsPhrase_vbar
Eternal ID of this version: #1020307/1
Text MD5: 04d7337f030ff81ac305e7b9ebdb26e4
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:30:24
Source code size: 222 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 235 / 268
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)