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

10
LINES

< > BotCompany Repo | #1012994 // swicEwic

JavaX fragment (include)

static bool swicEwic(S s, S prefix, S suffix) {
  ret swic(s, prefix) && ewic(s, suffix);
}

static bool swicEwic(S s, S prefix, S suffix, Matches m) {
  if (!swicEwic(s, prefix, suffix)) false;
  if (m != null)
    m.m = new S[] {substring(s, l(prefix), l(s)-l(suffix))};
  true;
}

Author comment

Began life as a copy of #1011755

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1012994
Snippet name: swicEwic
Eternal ID of this version: #1012994/5
Text MD5: fbe6b6efdcf0da7bcbadb59bad0a7e5e
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-12-22 19:04:45
Source code size: 291 bytes / 10 lines
Pitched / IR pitched: No / No
Views / Downloads: 422 / 443
Version history: 4 change(s)
Referenced in: [show references]