static S fixNewLines_old(S s) { ret s.replace("\r\n", "\n").replace("\r", "\n"); }
Began life as a copy of #1006746
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: | #1016253 |
Snippet name: | fixNewLines_old - convert both sole \r and \r\n to \n (slow version) |
Eternal ID of this version: | #1016253/2 |
Text MD5: | f2ee361cefa7f836cbedc95405305162 |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2018-06-12 14:59:40 |
Source code size: | 86 bytes / 3 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 339 / 390 |
Version history: | 1 change(s) |
Referenced in: | [show references] |