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

3
LINES

< > BotCompany Repo | #1017254 // assureTrailingNewLine

JavaX fragment (include)

static S assureTrailingNewLine(S s) {
  ret addSuffix(s, "\n");
}

Author comment

Began life as a copy of #1014819

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1017254
Snippet name: assureTrailingNewLine
Eternal ID of this version: #1017254/1
Text MD5: 6693e893aab54d4b5c731e303e2700bf
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-07-15 16:12:35
Source code size: 67 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 294 / 318
Referenced in: #1006654 - Standard functions list 2 (LIVE, continuation of #761)