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

3
LINES

< > BotCompany Repo | #1023483 // simpleQuote - don't escape quotes inside

JavaX fragment (include)

1  
sS simpleQuote(S s) {
2  
  ret s == null ? "null" : "\"" + s + "\"";
3  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 8 computer(s): bhatertpkbcr, cfunsshuasjs, mowyntqkapby, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt

No comments. add comment

Snippet ID: #1023483
Snippet name: simpleQuote - don't escape quotes inside
Eternal ID of this version: #1023483/1
Text MD5: 1968df7c92a922b7918ddb3a544dc09a
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-06-24 16:40:33
Source code size: 69 bytes / 3 lines
Pitched / IR pitched: No / No
Views / Downloads: 268 / 301
Referenced in: [show references]