StrReplace - escaping doublequotes failing - why?
Posted: 27 Jan 2023, 02:51
So I'm trying to change the language text here by targeting the "en-US" with its actual surrounding quotes as well as adding in "ko" with its actual surrounding quotes
<tt xml:lang="en-US" ...
Both of these fail though, with AHK's error saying that ko is somehow being read as an illegally named variable
Is there some other way to escape these?
<tt xml:lang="en-US" ...
Code: Select all
newXML := StrReplace(theXML, "xml:lang=""en-US"", "xml:lang=""ko"")
newXML := StrReplace(theXML, "xml:lang=""en-US"", "xml:lang=""ko""")
Is there some other way to escape these?