<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?
Code: Select all
newXML := StrReplace(theXML, "xml:lang=""en-US"", "xml:lang=""ko"")
newXML := StrReplace(theXML, "xml:lang=""en-US"", "xml:lang=""ko""")
Code: Select all
newXML := StrReplace(theXML, "xml:lang=""en-US""", "xml:lang=""ko""")
Instead of thinking of it as triple quotes, just think that you need a quote at the start and end of your string, and anywhere inside that where you want a quote character, you need two of them. Trying to remember special cases where there are three in a row is unnecessary and just makes it confusing.