static S escapeNewLines(S s) { ret s == null ? null : fixNewLines(s).replace("\n", " | "); }
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: | #1003921 |
Snippet name: | escapeNewLines - replaces new lines with " | " |
Eternal ID of this version: | #1003921/2 |
Text MD5: | dbe427b76ae7750e3006e3e85be72ccb |
Author: | stefan |
Category: | javax / talking robots |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-09-17 17:25:23 |
Source code size: | 96 bytes / 3 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 612 / 610 |
Version history: | 1 change(s) |
Referenced in: | #1005513 - containsNewLine #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1014697 - newLinesToSpaces |