当前位置:编程学习 > asp >>

帮忙吧下面的asp转为js,谢谢!

<% function chX(str) dim i,a,b a = split(str,"-") for i = 0 to ubound(a) b = a(i) if len(b) = 1 then b = "0" & b chX = chX & b & "-" next if chX <> "" then chX = left(chX,len(chX)-1) end function %>
CopyRight © 2022 站长资源库 编程知识问答 zzzyk.com All Rights Reserved
部分文章来自网络,