AutoChris Posted March 17, 2004 Share Posted March 17, 2004 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 More sharing options...
Developers Jos Posted March 17, 2004 Developers Share Posted March 17, 2004 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 More sharing options...
AutoChris Posted March 17, 2004 Author Share Posted March 17, 2004 (edited) Of course! It was something stupid. Thanks for your help, JdeB!!! Edited March 17, 2004 by SerialKiller Link to comment Share on other sites More sharing options...
Recommended Posts
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 accountSign in
Already have an account? Sign in here.
Sign In Now