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

6
LINES

< > BotCompany Repo | #1014820 // asciiSideBySideWithBarsAllAround

JavaX fragment (include)

static S asciiSideBySideWithBarsAllAround(L<S> texts) {
  S s = asciiSideBySideWithBars(texts);
  int width = maxLineLength(s);
  S x = " " + rep(width-2, '-');
  ret x + "\n" + assureTrailingNewLineIfNempty(s) + x + "\n";
}

Author comment

Began life as a copy of #1014816

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: #1014820
Snippet name: asciiSideBySideWithBarsAllAround
Eternal ID of this version: #1014820/4
Text MD5: b8a0cbe239d15c001862190b6db63597
Author: stefan
Category: javax / ascii
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-05-03 14:59:49
Source code size: 229 bytes / 6 lines
Pitched / IR pitched: No / No
Views / Downloads: 306 / 331
Version history: 3 change(s)
Referenced in: [show references]