I am checking for the existence of a file in the XML backup of my iTunes library.
How do I change this string
E:\Entertainment\Music\Latin\100% Azucar The Best of Celia Cruz & La Sonora Matancera/08 Mi Soncito.mp3
to this
E:/Entertainment/Music/Latin/100%25%20Azucar%20%20The%20Best%20of%20Celia%20Cruz%20&%20La%20Sonora%20Matancera/08%20Mi%20Soncito.mp3
Changes:
- Space becomes %20
- Backslash becomes Forward-slash
- % (percentage sign) became %25