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) + "}"); }
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: | 650 / 704 |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |