Quantcast
Channel: First steps - JuliaLang
Viewing all articles
Browse latest Browse all 2795

How to do escape_string

$
0
0

I am trying to use escape_string because as per documentation, “Backslashes ( \ ) are escaped with a double-backslash ( "\\" )”.

This is what I tried:

mypath1 = escape_string("C:\Users\User\Dropbox\codes\JULIA\stock1\")

The error message I get is

ERROR: LoadError: syntax: invalid escape sequence.

I am not sure what I did wrong.

16 posts - 3 participants

Read full topic


Viewing all articles
Browse latest Browse all 2795