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

8
LINES

< > BotCompany Repo | #1014086 // appendBracketed

JavaX fragment (include)

static S appendBracketed(O o) {
  S b = strOrNull(o);
  ret empty(b) ? "" : "" + " (" + b + ")";
}

static S appendBracketed(S a, S b) {
  ret a + appendBracketed(b);
}

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1014086
Snippet name: appendBracketed
Eternal ID of this version: #1014086/4
Text MD5: cded9a887d72e03113eb663a4c7af094
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-08-28 13:57:41
Source code size: 175 bytes / 8 lines
Pitched / IR pitched: No / No
Views / Downloads: 494 / 558
Version history: 3 change(s)
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)
#1017409 - appendSquareBracketed
#1026159 - appendBracketedCountUnlessZero