I want to replace backward slashes
with forwards slashes
in a string. So I used below syntax in R.
stringr::str_replace("\\", "//", "\\asd")
However it fails to replace the backward slashes
in the given string.
Could you please help to find the right way to replace them?
I am using R in Windows 10 machine