...

View Full Version : Replace ascii cahracters in asp



Baleric
01-14-2007, 01:36 AM
hey guys,

im looking for a character map replace if there is one,
so i dont have to do the whole thing myself...


strTemp = Replace(strText,"'","'")
strTemp = Replace(strTemp,"&","&")
strTemp = Replace(strTemp,"",""")
strTemp = Replace(strTemp,"",""")
strTemp = Replace(strTemp,"","'")
strTemp = Replace(strTemp,"","'")
strTemp = Replace(strTemp, "", "–")
strTemp = Replace(strTemp, "", "—")
strTemp = Replace(strTemp, "", "¯")
strTemp = Replace(strTemp, "", "²")
strTemp = Replace(strTemp, "", "³")
strTemp = Replace(strTemp, "", "À")
strTemp = Replace(strTemp, "", "Á")
strTemp = Replace(strTemp, "", "Â")
strTemp = Replace(strTemp, "", "Ä")
strTemp = Replace(strTemp, "", "Ç")
strTemp = Replace(strTemp, "", "È")
strTemp = Replace(strTemp, "", "É")
strTemp = Replace(strTemp, "", "Ê")
strTemp = Replace(strTemp, "", "Ë")
strTemp = Replace(strTemp, "", "Ì")
strTemp = Replace(strTemp, "", "Í")
strTemp = Replace(strTemp, "", "Î")
strTemp = Replace(strTemp, "", "Ï")
strTemp = Replace(strTemp, "", "Ò")
strTemp = Replace(strTemp, "", "Ó")
strTemp = Replace(strTemp, "", "Ô")
strTemp = Replace(strTemp, "", "Ù")
strTemp = Replace(strTemp, "", "Ú")
strTemp = Replace(strTemp, "", "Û")
strTemp = Replace(strTemp, "", "Ü")
strTemp = Replace(strTemp, "", "ß")
strTemp = Replace(strTemp, "", "à")
strTemp = Replace(strTemp, "", "á")
strTemp = Replace(strTemp, "", "â")
strTemp = Replace(strTemp, "", "ã")
strTemp = Replace(strTemp, "", "ä")
strTemp = Replace(strTemp, "", "ç")
strTemp = Replace(strTemp, "", "è")
strTemp = Replace(strTemp, "", "é")
strTemp = Replace(strTemp, "", "ê")
strTemp = Replace(strTemp, "", "ë")
strTemp = Replace(strTemp, "", "î")
strTemp = Replace(strTemp, "", "ï")
strTemp = Replace(strTemp, "", "ñ")
strTemp = Replace(strTemp, "", "ò")
strTemp = Replace(strTemp, "", "ó")
strTemp = Replace(strTemp, "", "ô")
strTemp = Replace(strTemp, "", "õ")
strTemp = Replace(strTemp, "", "ö")
strTemp = Replace(strTemp, "", "ù")
strTemp = Replace(strTemp, "", "ú")
strTemp = Replace(strTemp, "", "û")
strTemp = Replace(strTemp, "", "ü")
strTemp = Replace(strTemp, "?", "!")
strTemp = Replace(strTemp, "#", "")
strTemp = Replace(strTemp, "", "c")
strTemp = Replace(strTemp, "", "o")
strTemp = Replace(strTemp, "", "<")
strTemp = Replace(strTemp, "", "y")

strTemp = Replace(strTemp, "", "e")
strTemp = Replace(strTemp, "", "r")
strTemp = Replace(strTemp, "", "a")
strTemp = Replace(strTemp, "", "1/2")
strTemp = Replace(strTemp, "", "tm")

and so on...

thanks in advance

baleric



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum