Hi all,

I'm trying to do a simple thing, adding a backslash before every underscore 
in a string, ex: my_beautiful_string should become my\_beautiful\_string.
To do that, I tried:

julia> replace("my_beautiful_string", "_", "\_")
"my_beautiful_string"

julia> replace("my_beautiful_string", "_", "\\_")
"my\\_beautiful\\_string"

I looked it up but I didn't find an answer, any suggestion?

Reply via email to