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

5
LINES

< > BotCompany Repo | #1000664 // mysqlUnquote function

JavaX fragment (include)

1  
static String mysqlUnquote(String s) {
2  
  if (s.startsWith("'") && s.endsWith("'") && s.length() > 1)
3  
    return unquote("\"" + s.substring(1, s.length()-1) + "\"");
4  
  return unquote(s);
5  
}

Author comment

Began life as a copy of #2000521

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: #1000664
Snippet name: mysqlUnquote function
Eternal ID of this version: #1000664/1
Text MD5: 0a5e6b3490039cf417f6e2c34c6d0001
Author: stefan
Category:
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2015-08-21 21:29:48
Source code size: 191 bytes / 5 lines
Pitched / IR pitched: No / Yes
Views / Downloads: 681 / 885
Referenced in: [show references]