读书人

HTML字符实业(Character Entities)

发布时间: 2012-09-05 15:19:35 作者: rapoo

HTML字符实体(Character Entities),转义字符串(Escape Sequence)

为什么要用转义字符串?



?

Function htmlentities(str)     For i = 1 to Len(str)         char = mid(str, i, 1)         If Ascw(char) > 128 then             htmlentities = htmlentities & "&#" & Ascw(char) & ";"         Else             htmlentities = htmlentities & char         End if     NextEnd Function

?

?

coldfusion

读书人网 >CSS

热点推荐