Not logged in.  Login/Logout/Register | List snippets | | Create snippet | Upload image | Upload data

10
LINES

< > BotCompany Repo | #1009696 // winQuote3 function - experimental

JavaX fragment (include)

public static String winQuote3(S text) {
  if (text == null) return null;
  return text
    .replace("\"", "\\\"")
    .replace(" ", "\\ ");
}

static S winQuote3(File f) {
  ret winQuote3(f.getAbsolutePath());
}

Author comment

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: 462 / 455
Referenced in: [show references]