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

3
LINES

< > BotCompany Repo | #1018417 // dropNewLines - line breaks to nothing

JavaX fragment (include)

sS dropNewLines(S s) {
  ret s == null ? null : s.replaceAll("[\r\n]", "");
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1018417
Snippet name: dropNewLines - line breaks to nothing
Eternal ID of this version: #1018417/2
Text MD5: b715ad9149db976e062579ac9a2bf2b8
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2018-09-27 14:55:19
Source code size: 79 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 321 / 365
Version history: 1 change(s)
Referenced in: [show references]