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

5
LINES

< > BotCompany Repo | #1024423 // backtickUnquote

JavaX fragment (include) [tags: use-pretranspiled]

Libraryless. Click here for Pure Java version (1816L/12K).

1  
sS backtickUnquote(S s) {
2  
  if (l(s) >= 2 && startsWithEndsWith(s, "`"))
3  
    ret dropFirstAndLast(s);
4  
  ret s;
5  
}

download  show line numbers  debug dex  old transpilations   

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

No comments. add comment

Snippet ID: #1024423
Snippet name: backtickUnquote
Eternal ID of this version: #1024423/2
Text MD5: 087e3d5156ba7ea05445ec751b68a2ad
Transpilation MD5: a6e1fa6940a6068e025a7a0bde7083a2
Author: stefan
Category: javax
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2019-08-11 23:54:10
Source code size: 116 bytes / 5 lines
Pitched / IR pitched: No / No
Views / Downloads: 286 / 361
Version history: 1 change(s)
Referenced in: [show references]