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

7
LINES

< > BotCompany Repo | #1013038 // joinWithBR - join HTML code with <br> (and newline)

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (3803L/22K).

sS joinWithBR(Iterable l) {
  ret join("<br>\n", l);
}

sS joinWithBR(S... l) {
  ret joinWithBR(asList(l));
}

download  show line numbers  debug dex  old transpilations   

Travelled to 14 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1013038
Snippet name: joinWithBR - join HTML code with <br> (and newline)
Eternal ID of this version: #1013038/5
Text MD5: 764a5d331eb17ded6a2a4b74e2ce2718
Transpilation MD5: b3b48c73e24725ef4af79c294e455d8d
Author: stefan
Category: javax / html
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-09-22 16:51:48
Source code size: 116 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 389 / 442
Version history: 4 change(s)
Referenced in: [show references]