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

5
LINES

< > BotCompany Repo | #1020303 // containsPhrase

JavaX fragment (include)

static bool containsPhrase(S s, S phrase) {
  LS tokS = javaTokNPunctuationC(s);
  LS tokPhrase = javaTokNPunctuationC(phrase);
  ret containsSubListIC(tokS, tokPhrase);
}

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: #1020303
Snippet name: containsPhrase
Eternal ID of this version: #1020303/1
Text MD5: a4c913fc98b13eebe8781a931489ff6a
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 16:31:40
Source code size: 175 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 350 / 360
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)