static L<S> tok_surroundWordWithAngularBrackets(L<S> tok, S word) { for (int i = 1; i < l(tok); i += 2) { S t = tok.get(i); if (eqic(t, word)) tok.set(i, angleBrackets(t)); } ret tok; }
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: | #1013019 |
| Snippet name: | tok_surroundWordWithAngularBrackets - case-insensitive |
| Eternal ID of this version: | #1013019/3 |
| Text MD5: | b69b854677f78b5de16a2d065184bacd |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2017-12-22 03:04:44 |
| Source code size: | 212 bytes / 8 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 821 / 826 |
| Version history: | 2 change(s) |
| Referenced in: | [show references] |