Using " in a string
[1/1] from: johnkenyon::uk::ibm::com at: 16-Aug-2000 14:20
Thorsten,
You can use { and } as alternatives to the " character.
Try
>> s: {hel"lo}
== {hel"lo}
>> parse s [ to {"} mark: (remove/part mark 1) ]
== false
>> probe s
hello
== "hello"
or you may want
parse s [ any [to {"} mark: (remove/part mark 1) ]]
to do more than 1.
Maybe in combination with a file: read/lines %filename and a foreach line
file [ ...
bye,
john
Hi List,
I need to search for " in lines of a file to remove them, but i dont know
to
do that. All other characters are no problem, but """ wont work. Everything
i tried ends up in an Invalid String failure.
Any suggestions will be gratefully accepted.
Thorsten