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

7
LINES

< > BotCompany Repo | #1037258 // pine_singleToDoubleQuotes

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

Libraryless. Click here for Pure Java version (10686L/59K).

static LS pine_singleToDoubleQuotes(LS tok) {
  ret mapCodeTokens(tok, t -> {
    if (startsWith(t, "'"))
      ret quote(unquoteSingleOrDoubleQuotes(t));
    ret t;
  });
}

download  show line numbers  debug dex  old transpilations   

Travelled to 2 computer(s): mqqgnosmbjvj, wnsclhtenguj

No comments. add comment

Snippet ID: #1037258
Snippet name: pine_singleToDoubleQuotes
Eternal ID of this version: #1037258/2
Text MD5: 39170a08db256aba095053ef17bb1b36
Transpilation MD5: b59277ae6286f895674192b3cacb0d8c
Author: stefan
Category: javax / pine script
Type: JavaX fragment (include)
Public (visible to everyone): Yes
Archived (hidden from active list): No
Created/modified: 2023-10-15 17:41:16
Source code size: 179 bytes / 7 lines
Pitched / IR pitched: No / No
Views / Downloads: 140 / 199
Version history: 1 change(s)
Referenced in: #761 - New #629 - Standard functions list (LIVE) - continued on #1006654