static S replaceSecondLong(S s, long l) { L<S> tok = javaTok(s); int i = jfind(tok, "<int>"); if (i < 0) ret s; i = jfind(tok, i+2, "<int>"); if (i < 0) ret s; tok.set(i, str(l)); ret join(tok); }
Began life as a copy of #1011284
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: | #1011287 |
Snippet name: | replaceSecondLong - replace second long in string |
Eternal ID of this version: | #1011287/4 |
Text MD5: | 0000edbb96124a07d1898b42f9fc6016 |
Author: | stefan |
Category: | javax / parsing |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-10-22 03:58:28 |
Source code size: | 218 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 453 / 499 |
Version history: | 3 change(s) |
Referenced in: | [show references] |