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

6
LINES

< > BotCompany Repo | #1012555 // tok_groupWords - ignores case

JavaX fragment (include)

static S tok_groupWords(S s, S substring) {
  int i = indexOfIC_fullWord(s, substring);
  if (i < 0) ret s;
  int j = i+l(substring);
  ret replaceSubstring(s, i, j, "{" + substring(s, i, j) + "}");
}

Author comment

Began life as a copy of #1012547

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: #1012555
Snippet name: tok_groupWords - ignores case
Eternal ID of this version: #1012555/1
Text MD5: 7ed63cf2fccd9bfa1cbf03716dbc1be2
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2017-12-07 00:28:17
Source code size: 205 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 452 / 495
Referenced in: [show references]