Libraryless. Click here for Pure Java version (2680L/17K).
sS replaceDollarVarsWithAngleBracketed(S s) { LS tok = javaTok(s); for (int i = 1; i < l(tok); i += 2) { S t = tok.get(i); if (isDollarVar(t)) tok.set(i, angleBracketed(dropDollarPrefix(t))); } ret join(tok); }
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: | #1028210 |
Snippet name: | replaceDollarVarsWithAngleBracketed |
Eternal ID of this version: | #1028210/3 |
Text MD5: | 6ff8561ea4ea5b383efd456fd75ed5ed |
Transpilation MD5: | 63779e7959e51e42b2bea6aa4c57c73f |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2020-05-26 14:04:55 |
Source code size: | 240 bytes / 9 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 238 / 361 |
Version history: | 2 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |