Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

4
LINES

< > BotCompany Repo | #1023446 // tok_dropExtraCommas

JavaX fragment (include)

// extra commas - e.g. ll(1, 2,) => ll(1, 2)
svoid tok_dropExtraCommas(LS tok) {
  jreplace(tok, ",)", ")");
}

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1023446
Snippet name: tok_dropExtraCommas
Eternal ID of this version: #1023446/1
Text MD5: e101d271558cffd4be69fd4fb8ab5d8c
Author: stefan
Category: javax / transpiling
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-06-22 01:19:56
Source code size: 113 bytes / 4 lines
Pitched / IR pitched: No / No
Views / Downloads: 208 / 253
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)