字母转换成ascII码
关键词:asp转换asc码,asp,字母转换编码,zscII转换编码,asp实现字母转换成asc编码
'函数
function strToAsc(strValue)
dim strTemp
dim i
strTemp=""
for i=1 to len(strValue & "")
strTemp=strTemp & asc(mid(strValue,i,1))
next
strToAsc=strTemp
end function
response.write strToAsc("n")
试试,转换成110
'函数
function strToAsc(strValue)
dim strTemp
dim i
strTemp=""
for i=1 to len(strValue & "")
strTemp=strTemp & asc(mid(strValue,i,1))
next
strToAsc=strTemp
end function
response.write strToAsc("n")
试试,转换成110