static S topBottomLines(char c, S s) { int w = lengthOfLongestLine(s); S line = rep(c, w); ret fromLines(concatLists(ll(line), toLines(s), ll(line))); }
download show line numbers debug dex old transpilations
Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, ddnzoavkxhuk, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
| Snippet ID: | #1004883 | 
| Snippet name: | topBottomLines - decorate some text | 
| Eternal ID of this version: | #1004883/1 | 
| Text MD5: | 201b61cea64c880779d50b9264290dbd | 
| Author: | stefan | 
| Category: | javax | 
| Type: | JavaX fragment (include) | 
| Public (visible to everyone): | Yes | 
| Archived (hidden from active list): | No | 
| Created/modified: | 2016-09-12 19:28:19 | 
| Source code size: | 162 bytes / 5 lines | 
| Pitched / IR pitched: | No / No | 
| Views / Downloads: | 750 / 767 | 
| Referenced in: | [show references] |