I have an invalid path:
C:\xampp\htdocs\laposte\app\webroot\img/Penguins.jpg
how to change a line that has only forward slashes, like
C:/xampp/htdocs/laposte/app/webroot/img/Penguins.jpg
My idea is to extract words from a string and then rearrange the string using a forward slash.
how do you do it
source
share