«

»

Mar 02

Print this Post

Escape/UnEscape

Enter a string and click escape or unescape to add or remove escape characters

Escape/Unescape
Escape/Unescape
escape.zip
438.0 B
20 Downloads
Details
<[email protected]=VBSCRIPT%>
<html>
<head>
	<title>Escape/UnEscape</title>
</head>
<body>
	<form action="escape.asp" method="post">
		<textarea cols="80" rows="5" name="txtEscape"></textarea><br>
		<input type="submit" name="action" value="Escape"> 
		<input type="submit" name="action" value="Un-Escape"> 
	</form>
<br>
<%
if request.form("action") = "Escape" then
	strOutput = escape(request.form("txtEscape"))
elseif request.form("action") = "Un-Escape" then
	strOutput = unescape(request.form("txtEscape"))
end if
response.write(strOutput)
%>
</body>
</html>

Permanent link to this article: https://www.wperry.net/code/escapeunescape/

Leave a Reply

Your email address will not be published. Required fields are marked *