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

3
LINES

< > BotCompany Repo | #1005106 // replaceLineBreaksWith

JavaX fragment (include)

1  
static S replaceLineBreaksWith(S s, S replacement) {
2  
  ret s == null ? null : s.replaceAll("\r?\n", replacement);
3  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1005106
Snippet name: replaceLineBreaksWith
Eternal ID of this version: #1005106/1
Text MD5: 19df9e7cf2a1534cda11e549d6b778f3
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2016-10-16 18:17:22
Source code size: 117 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 524 / 529
Referenced in: [show references]