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

3
LINES

< > BotCompany Repo | #1014055 // appendCommaIfNempty

JavaX fragment (include)

1  
static S appendCommaIfNempty(S s) {
2  
  ret empty(s) ? "" : s + ", ";
3  
}

Author comment

Began life as a copy of #1008658

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: #1014055
Snippet name: appendCommaIfNempty
Eternal ID of this version: #1014055/1
Text MD5: e8a5abf87104dc9d001fd4c129a51cfe
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-03-27 19:29:38
Source code size: 71 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 410 / 440
Referenced in: [show references]