static S newLinesToSpaces_trim(S s) { ret s == null ? null : trim(s).replaceAll("\\s*\r?\n\\s*", " "); }
Began life as a copy of #1014697
download show line numbers debug dex old transpilations
Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv
No comments. add comment
| Snippet ID: | #1021549 |
| Snippet name: | newLinesToSpaces_trim |
| Eternal ID of this version: | #1021549/3 |
| Text MD5: | cd8d8d5d6ae3b49b8755429f7ab837ba |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2019-02-17 18:55:47 |
| Source code size: | 108 bytes / 3 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 615 / 632 |
| Version history: | 2 change(s) |
| Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) |