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

3
LINES

< > BotCompany Repo | #1033461 // multiLineJavaStringLiteral

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

Transpiled version (4554L) is out of date.

1  
sS multiLineJavaStringLiteral(int charsPerLine default 80, S s) {
2  
  ret join("\n  + ", quoteAll(stringChunks(charsPerLine, s)));
3  
}

Author comment

Began life as a copy of #1033459

download  show line numbers  debug dex  old transpilations   

Travelled to 3 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj

No comments. add comment

Snippet ID: #1033461
Snippet name: multiLineJavaStringLiteral
Eternal ID of this version: #1033461/3
Text MD5: 0b15d1cbb97343f117f697a44f8501e8
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2021-10-28 21:27:23
Source code size: 132 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 144 / 197
Version history: 2 change(s)
Referenced in: [show references]