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

3
LINES

< > BotCompany Repo | #1026309 // autoUnindent_mls - for multi-line string constant (dropping first line break and rtrimming)

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

Libraryless. Click here for Pure Java version (2432L/16K).

1  
sS autoUnindent_mls(S s) {
2  
  ret autoUnindent(rtrim(dropLeadingNewLine(s)));
3  
}

Author comment

Began life as a copy of #1002853

download  show line numbers  debug dex  old transpilations   

Travelled to 8 computer(s): bhatertpkbcr, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1026309
Snippet name: autoUnindent_mls - for multi-line string constant (dropping first line break and rtrimming)
Eternal ID of this version: #1026309/3
Text MD5: c90c2dff11745830bc7558d007e6d65a
Transpilation MD5: b97bd149a1e181b8cc9b4316374fc189
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-03-15 14:35:58
Source code size: 80 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 186 / 266
Version history: 2 change(s)
Referenced in: [show references]