123 Eng

Engineering the engineers™


Latest Jobs   Forum Map

 


Home

Source Codes

Engineering Colleges

BE Students

Training  Reports (updated)

Seminar Reports (updated

Placement Papers (updated)

Forums

   Computer Science / IT

   Electronics

   Electrical

   Mechanical

   Chemical

   Civil

   CAT / MBA

   GMAT / Foreign MBA

Latest Jobs

Engineering Jobs / Technical Jobs

Management Jobs

Sitemap

About-Us

Terms of use

Displaying  Source Code(s)  
 

 
HTMLDecode Function

--------------------------------------------------------------------------------

Description : The HTMLDecode function decodes an HTML encoded string back into the original html code.

<%
Private Function HTMLDecode(ByVal encodedstring)
Dim tmp, i
tmp = encodedstring
tmp = Replace( tmp, """, Chr(34) )
tmp = Replace( tmp, "<" , Chr(60) )
tmp = Replace( tmp, ">" , Chr(62) )
tmp = Replace( tmp, "&" , Chr(38) )
tmp = Replace( tmp, " ", Chr(32) )
For i = 1 To 255
tmp = Replace( tmp, "&#" & i & ";", Chr( i ) )
Next
HTMLDecode = tmp
End Function
%>

 

Contribute content or training reports / feedback / Comments
job placement papers
All rights reserved copyright 123ENG