Graal Forums  

Go Back   Graal Forums > Development Forums > NPC Scripting
FAQ Members List Calendar Today's Posts

 
 
Thread Tools Search this Thread Display Modes
Prev Previous Post   Next Post Next
  #1  
Old 04-17-2008, 04:27 PM
Crow Crow is offline
ǝɔɐɹq ʎןɹnɔ
Crow's Avatar
Join Date: Dec 2006
Location: Germany
Posts: 5,153
Crow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond reputeCrow has a reputation beyond repute
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.
Reply With Quote
 


Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off

Forum Jump


All times are GMT +2. The time now is 10:00 AM.


Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2026, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.