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)

sbool jcontains(S s, S pat) {
  ret jfind(s, pat) >= 0;
}

sbool jcontains(LS tok, S pat) {
  ret jfind(tok, pat) >= 0;
}

sbool jcontains(LS tok, S pat, O condition) {
  ret jfind(tok, pat, condition) >= 0;
}

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: 459 / 501
Version history: 3 change(s)
Referenced in: [show references]