Decoding Encoded HTML Strings (VB.net)
<%@ Page Language="VB" %>
<html>
<head>
<title>Decoding Encoded HTML Strings</title>
<script runat="server">
Sub HtmlDecode()
Dim StrToDecode As String
Dim StrToReturn As String
StrToDecode = "<p>Hello, World!</p>"
StrToReturn = Server.HtmlDecode(StrToDecode)
Response.Write(StrToReturn)
End Sub
</script>
</head>
<body>
<% HtmlDecode %>
</body>
</html>
Related examples in the same category