CrimsonDiva
Programmer
Hello,
I am trying to replace all occurrences of "<%=Application("HtcRootSite"
%>" with "/staging" for a particular file.
This is the code I tried using (Vbscript/ASP):
str is a string reference to a file using an application variable.
str = Replace(str, "<%=Application(""HTCRootSite""
%>", "/staging"
This does not work because it's trying to read the ending delimeter "%>" instead of recognizing it as part of a string. I get the following error "Unterminated string Constant".
Can someone please help!
I am trying to replace all occurrences of "<%=Application("HtcRootSite"
This is the code I tried using (Vbscript/ASP):
str is a string reference to a file using an application variable.
str = Replace(str, "<%=Application(""HTCRootSite""
This does not work because it's trying to read the ending delimeter "%>" instead of recognizing it as part of a string. I get the following error "Unterminated string Constant".
Can someone please help!