asp将全角转化成半角的函数

作者:袖梨 2022-07-02
最简单的方法就是替换……
<%
function ciker(content)
content=replace(content,"1","1")
content=replace(content,"2","2")
content=replace(content,"3","3")
content=replace(content,"4","4")
content=replace(content,"5","5")
content=replace(content,"6","6")
content=replace(content,"7","7")
content=replace(content,"8","8")
content=replace(content,"9","9")
ciker=content
end function

response.write ciker("123456789")
%>

相关文章

精彩推荐