S
sv2021
Hi,
Can someone help me. I know this should be easy but I coulnt get it
working.
I want to replace the "\" backslash character in a string e.g: my
$test = "C:\myroot\folder"; with forward slash "/"
This is what my snippet, which seems to be not doing anything....
$test =~ s|\|/|g;
Can someone help me. I know this should be easy but I coulnt get it
working.
I want to replace the "\" backslash character in a string e.g: my
$test = "C:\myroot\folder"; with forward slash "/"
This is what my snippet, which seems to be not doing anything....
$test =~ s|\|/|g;