Sign in to follow this  
Followers 0
AutoChris

Search For A Quotation Mark?

3 posts in this topic

How can I StringReplace a quotation mark? I need to go through a text file and replace all double-quotes (") with single-quotes (') but I can't seem to figure out how to get it to recognize the quotation mark. I've tried putting it in brackets {"} but that hasn't worked. I hope I'm just being stupid and overlooking something. :iamstupid:

Any ideas would be much appreciated.

Chris

Share this post


Link to post
Share on other sites



Put the single qoute between double quotes and put the double quote between single quotes.

StringReplace($record,'"',"'")


Visit the SciTE4AutoIt3 Download page for the latest versions        Beta files                                                          Forum Rules
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Share this post


Link to post
Share on other sites

#3 ·  Posted (edited)

Of course! It was something stupid.

Thanks for your help, JdeB!!!

Edited by SerialKiller

Share this post


Link to post
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!


Register a new account

Sign in

Already have an account? Sign in here.


Sign In Now
Sign in to follow this  
Followers 0