
04-17-2008, 04:27 PM
|
|
ǝɔɐɹq ʎןɹnɔ
|
 |
Join Date: Dec 2006
Location: Germany
Posts: 5,153
|
|
Keeping quotation marks when using tokenize()
|
Let's say I got a string which includes quotation marks. They are killed when using tokenize() on that string, but I need to keep them. I figured out that when using escape() on the string before using tokenize() will most likely fix it, but theres one problem.
After modifying the string's single parts, I'm putting it together again and I'm then putting it in a TextEdit Control. Here comes the problem: the backslashes will remain.
Things like this:
"test"
Will then look like this:
\"test\"
So, how could I get rid of the backslashes after the string was put together again, or how do I use tokenize() on the string without getting rid of the quotation marks at all. |
|
|
|