CrimsonDiva
Programmer
Hi,
I'm trying to excute a vbscript Replace function to produce a printable version of an ASP page. Here's what I have:
strLine = Replace(strLine, "<%=Application(""rootsite""
%>","
But this doesn't work and I've narrowed down the problem to trying to convert %> into a string. The code works fine like this:
strLine = Replace(strLine, "<%=Application(""rootsite""
"," -- missing ending %>
But that's not what I want. Basically, how do I get vbscript to see '%>' as a string?![[morning] [morning] [morning]](/data/assets/smilies/morning.gif)
I'm trying to excute a vbscript Replace function to produce a printable version of an ASP page. Here's what I have:
strLine = Replace(strLine, "<%=Application(""rootsite""
But this doesn't work and I've narrowed down the problem to trying to convert %> into a string. The code works fine like this:
strLine = Replace(strLine, "<%=Application(""rootsite""
But that's not what I want. Basically, how do I get vbscript to see '%>' as a string?
![[morning] [morning] [morning]](/data/assets/smilies/morning.gif)