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

7
LINES

< > BotCompany Repo | #1015568 - joinWithEmptyLines

JavaX fragment (include)

static S joinWithEmptyLines(L<S> l) {
  ret join("\n\n", map rtrim(l));
}

static S joinWithEmptyLines(S... l) {
  ret joinWithEmptyLines(asList(l));
}

download  show line numbers  debug dex   

Travelled to 10 computer(s): aoiabmzegqzx, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, irmadwmeruwu, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, tslmcundralx, tvejysmllsmz

No comments. add comment

Snippet ID: #1015568
Snippet name: joinWithEmptyLines
Eternal ID of this version: #1015568/2
Text MD5: 518c05d4bdead0c92de2c87a9d9bef82
Author: stefan
Category: javax / gui
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-08-29 16:35:41
Source code size: 157 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 137 / 153
Version history: 1 change(s)
Referenced in: [show references]

Formerly at http://tinybrain.de/1015568 & http://1015568.tinybrain.de