1 | public static String winQuote3(S text) {
|
2 | if (text == null) return null; |
3 | return text |
4 | .replace("\"", "\\\"")
|
5 | .replace(" ", "\\ ");
|
6 | } |
7 | |
8 | static S winQuote3(File f) {
|
9 | ret winQuote3(f.getAbsolutePath()); |
10 | } |
Began life as a copy of #1009625
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: | #1009696 |
| Snippet name: | winQuote3 function - experimental |
| Eternal ID of this version: | #1009696/1 |
| Text MD5: | c8d467e06e49f95f10be67883aefc3fd |
| Author: | stefan |
| Category: | javax |
| Type: | JavaX fragment (include) |
| Public (visible to everyone): | Yes |
| Archived (hidden from active list): | No |
| Created/modified: | 2017-08-14 03:01:31 |
| Source code size: | 221 bytes / 10 lines |
| Pitched / IR pitched: | No / No |
| Views / Downloads: | 722 / 738 |
| Referenced in: | [show references] |