Message 1 of 3
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello!
I have a string called _str that I am using with: execute _str.
In this string I have a print command where I need to print one folder path:
_str = "\tprint \"the path is"+_mypath +"\"\n"
execute _str
Ok, I need to use that scapes \t and \n but not in path...So ok, we I am using(substituteString _path "\\" "\\\\") to replace in path all the "\" to "\\".
Works fine but to use this path again to open a file for example I need to revert the process and back to "\" using (substituteString _path "\\\\" "\\")
This is working for me but sounds to strange to do it. Are there a better way to do it?
Thank you!
Solved! Go to Solution.