AutoHotkey Community

It is currently May 26th, 2012, 8:26 pm

All times are UTC [ DST ]




Post new topic Reply to topic  [ 6 posts ] 
Author Message
PostPosted: August 18th, 2009, 2:59 am 
Offline

Joined: August 12th, 2009, 6:07 pm
Posts: 26
Using string replace how can I get it to delete the "

StringReplace, TestVar,TestVar, ?"?, , All

I cannot seem to find what I need to do for AHK to recognize the quote as a literal quote mark.

Thanks!


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 18th, 2009, 3:01 am 
Offline
User avatar

Joined: December 21st, 2007, 3:14 pm
Posts: 3826
Location: Louisville KY USA
Code:
StringReplace, TestVar,TestVar,", , All

works for me every time

_________________
No matter what your oppinion Please join this discussion
Formal request to Polyethene
Image


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 18th, 2009, 3:05 am 
Offline

Joined: August 12th, 2009, 6:07 pm
Posts: 26
Yea, it highlights it with an error...I guess I should have tested it before I asked...I suck.


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 18th, 2009, 3:20 am 
Offline

Joined: March 27th, 2009, 10:48 pm
Posts: 71
Code:
StringReplace, TestVar,TestVar,`", , All


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 18th, 2009, 9:19 am 
Offline
User avatar

Joined: August 30th, 2005, 8:43 pm
Posts: 8666
Location: Salem, MA
tank's should be the correct one.

_________________
Image
(Common Answers) - New Tutorials Forum - Humongous FAQ


Report this post
Top
 Profile  
Reply with quote  
 Post subject:
PostPosted: August 18th, 2009, 9:32 am 
Offline

Joined: October 17th, 2006, 4:15 pm
Posts: 7502
Location: Australia
BF2 Player's version also works; the ` back-tick is redundant, but harmless.
Quote:
Yea, it highlights it with an error...
Current syntax highlighters aren't capable of determining which parameters are actually expressions (where quote marks have special meaning), and which are text. For that matter, many users aren't either. :)


Report this post
Top
 Profile  
Reply with quote  
Display posts from previous:  Sort by  
Post new topic Reply to topic  [ 6 posts ] 

All times are UTC [ DST ]


Who is online

Users browsing this forum: BrandonHotkey, Pulover, SKAN, Yahoo [Bot] and 57 guests


You can post new topics in this forum
You can reply to topics in this forum
You cannot edit your posts in this forum
You cannot delete your posts in this forum
You cannot post attachments in this forum

Search for:
Powered by phpBB® Forum Software © phpBB Group