J
Jon Maz
Hi,
I have been getting hopelessly confused with escaping escape characters in
JScript! All I want to do is write a simple funtion:
function DoubleUpBackSlash(inputString)
{
???????
}
which will do the following:
<%
var inputString = "D:\Internet\test2.txt"
Response.Write(DoubleUpBackSlash(inputString));
%>
....printing out the following on the screen:
D:\\Internet\\test2.txt
Can anyone fill in the blanks in the function for me?
TIA,
JON
I have been getting hopelessly confused with escaping escape characters in
JScript! All I want to do is write a simple funtion:
function DoubleUpBackSlash(inputString)
{
???????
}
which will do the following:
<%
var inputString = "D:\Internet\test2.txt"
Response.Write(DoubleUpBackSlash(inputString));
%>
....printing out the following on the screen:
D:\\Internet\\test2.txt
Can anyone fill in the blanks in the function for me?
TIA,
JON