static S javaTok_substringN(S s, int i, int j) { if (i == j) ret ""; if (j == i+1 && s.charAt(i) == ' ') ret " "; ret s.substring(i, j); }
Began life as a copy of #1004046
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: | #1011785 |
Snippet name: | javaTok_substringN - possibly faster substring() for javaTok etc. for non-code-tokens |
Eternal ID of this version: | #1011785/4 |
Text MD5: | 4d9967887cea703eb9171c400aed52fb |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-11-05 04:44:15 |
Source code size: | 148 bytes / 5 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 576 / 639 |
Version history: | 3 change(s) |
Referenced in: | [show references] |