I have the following problem: I'm reading a text field (user data input) which contains a command and a filename. For example, the user could insert something like:
Code: Select all
load c:\temp\my_file.txt
The problem arise when the user wants to insert a filename with spaces. The user uses double-apex to manage filename. See here:
Code: Select all
load "c:\temp\this is the file.txt"
but word 2 of textField gives me: "c:\temp\this is the file.txt" (included the double apex!)
And when I try to load the image, since it includes double apex it does not work.
So I decided to replace any apex and double-apex with "" (empty). My problem is I cannot (I don't know how to do it!) write a double apex to be replaced!
In pascal I use: "" (double double-apex) and in other languages I can put "\"" (see \" to indicate the double-apex).
How can I do it in Revolution?
Thank you for your help!