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

5
LINES

< > BotCompany Repo | #1027976 // tok_unquote - really proper unquote

JavaX fragment (include)

1  
sS tok_unquote(S s) {
2  
  LS tok = javaTok(s);
3  
  ret l(tok) == 3 && empty(first(tok)) && empty(last(tok))
4  
    && isQuoted(second(tok)) ? unquote(second(tok)) : s;
5  
}

download  show line numbers  debug dex  old transpilations   

Travelled to 7 computer(s): bhatertpkbcr, mqqgnosmbjvj, pyentgdyhuwx, pzhvpgtvlbxg, tvejysmllsmz, vouqrxazstgt, xrpafgyirdlv

No comments. add comment

Snippet ID: #1027976
Snippet name: tok_unquote - really proper unquote
Eternal ID of this version: #1027976/1
Text MD5: d611982289eacf4e0d961bd7a7d6a3d9
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2020-04-22 13:11:49
Source code size: 166 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 187 / 237
Referenced in: [show references]