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

3
LINES

< > BotCompany Repo | #1003063 // asciiHeading - now adds a \n in front

JavaX fragment (include)

static S asciiHeading(S title) {
  ret "\n" + title + "\n" + rep(l(title), '-');
}

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: #1003063
Snippet name: asciiHeading - now adds a \n in front
Eternal ID of this version: #1003063/1
Text MD5: c8a6242cb2f0c4f914c61ee0f75be03c
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-06-20 18:15:39
Source code size: 84 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 816 / 903
Referenced in: #1003600 - asciiHeading2 - has \n in front and after
#1006654 - Standard functions list 2 (LIVE, continuation of #761)