1 | sS wordRange(S s, int from, int to) { |
2 | ret wordRange(javaTokNPunctuationWithBrackets_cached(s), from, to); |
3 | } |
4 | |
5 | sS wordRange(LS tok, int from, int to) { |
6 | ret joinSubList(tok, max(1, from*2+1), min(to*2, l(tok)-1)); |
7 | } |
download show line numbers debug dex old transpilations
Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
Snippet ID: | #1026588 |
Snippet name: | wordRange |
Eternal ID of this version: | #1026588/4 |
Text MD5: | f61f379458df978e742883098d3fa8c9 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-01-15 00:34:45 |
Source code size: | 222 bytes / 7 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 210 / 254 |
Version history: | 3 change(s) |
Referenced in: | [show references] |