Julia Programming Language
How to replace \ by \\ in string
New to Julia
strings
giordano
June 11, 2022, 2:51pm
2
You can use
raw string literals
:
julia> raw"C:\Users\xxx\..." "C:\\Users\\xxx\\..."
7 Likes
show post in topic
Related topics
Topic
Replies
Views
Activity
How to do escape_string
New to Julia
strings
15
3695
December 26, 2020
Why doesn't Julia recognize my string?
New to Julia
15
875
April 6, 2019
Impossible Raw String Encoding?
General Usage
14
1895
May 1, 2018
How to configure Julia to recognize Backslash: \
New to Julia
2
629
December 7, 2018
Passing variables to raw strings?
New to Julia
10
4969
September 20, 2020