Jump to content

Search For A Quotation Mark?


Recommended Posts

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

Link to comment
Share on other sites

  • Developers

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

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

SciTE4AutoIt3 Full installer Download page   - Beta files       Read before posting     How to post scriptsource   Forum etiquette  Forum Rules 
 
Live for the present,
Dream of the future,
Learn from the past.
  :)

Link to comment
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
 Share

  • Recently Browsing   0 members

    • No registered users viewing this page.
×
×
  • Create New...