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

5
LINES

< > BotCompany Repo | #1024106 // ewic_trim - trim matches

JavaX fragment (include)

sbool ewic_trim(S a, S b, Matches m) {
  if (!ewic(a, b)) false;
  m.m = new S[] {trim(dropLast(l(b), a))};
  true;
}

Author comment

Began life as a copy of #1011049

download  show line numbers  debug dex  old transpilations   

Travelled to 6 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1024106
Snippet name: ewic_trim - trim matches
Eternal ID of this version: #1024106/1
Text MD5: 4febe82671b37ff0f97ddc05009a7d26
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-07-20 19:58:29
Source code size: 121 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 165 / 207
Referenced in: [show references]