static S asciiSideBySideWithSeparator(S sep, LS texts) { if (empty(texts)) ret asciiSideBySide(texts); int rows = maxLineCount(texts); new L<S> out; for i over texts: { if (i != 0) out.add(repLine(rows, sep)); out.add(texts.get(i)); } ret asciiSideBySide(out); }
Began life as a copy of #1014816
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: | #1021285 |
Snippet name: | asciiSideBySideWithSeparator |
Eternal ID of this version: | #1021285/1 |
Text MD5: | d70ad419f9958be7a1d815d2193b147e |
Author: | stefan |
Category: | javax / ascii |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2019-02-06 16:40:21 |
Source code size: | 291 bytes / 10 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 290 / 309 |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |