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

11
LINES

< > BotCompany Repo | #1017751 // jcontains - see jfind

JavaX fragment (include)

1  
sbool jcontains(S s, S pat) {
2  
  ret jfind(s, pat) >= 0;
3  
}
4  
5  
sbool jcontains(LS tok, S pat) {
6  
  ret jfind(tok, pat) >= 0;
7  
}
8  
9  
sbool jcontains(LS tok, S pat, O condition) {
10  
  ret jfind(tok, pat, condition) >= 0;
11  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1017751
Snippet name: jcontains - see jfind
Eternal ID of this version: #1017751/4
Text MD5: 20c5e5e56afd89d6032f3352ecd80a28
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-01-17 20:08:23
Source code size: 219 bytes / 11 lines
Pitched / IR pitched: No / No
Views / Downloads: 461 / 504
Version history: 3 change(s)
Referenced in: [show references]