public static String winQuote2(S text) { if (text == null) return null; return "\"" + text .replace("\"", "\\\"") .replace("\n", "\\n") .replace("\r", "\\r") + "\""; } static S winQuote2(File f) { ret winQuote2(f.getAbsolutePath()); }
Began life as a copy of #1000830
download show line numbers debug dex old transpilations
Travelled to 13 computer(s): aoiabmzegqzx, bhatertpkbcr, cbybwowwnfue, cfunsshuasjs, gwrvuhgaqvyk, ishqpsrjomds, lpdgvwnxivlt, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tslmcundralx, tvejysmllsmz, vouqrxazstgt
No comments. add comment
Snippet ID: | #1009625 |
Snippet name: | winQuote2 function - experimental |
Eternal ID of this version: | #1009625/2 |
Text MD5: | c4df4912104f020c3b36a88c2b62898b |
Author: | stefan |
Category: | javax |
Type: | JavaX fragment (include) |
Public (visible to everyone): | Yes |
Archived (hidden from active list): | No |
Created/modified: | 2017-08-12 18:39:24 |
Source code size: | 263 bytes / 11 lines |
Pitched / IR pitched: | No / No |
Views / Downloads: | 420 / 472 |
Version history: | 1 change(s) |
Referenced in: | #1006654 - Standard functions list 2 (LIVE, continuation of #761) #1009696 - winQuote3 function - experimental |