AutoChris 0 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 Share this post Link to post Share on other sites
Jos 2,167 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. Share this post Link to post Share on other sites
AutoChris 0 Posted March 17, 2004 (edited) Of course! It was something stupid. Thanks for your help, JdeB!!! Edited March 17, 2004 by SerialKiller Share this post Link to post Share on other sites