StripNonNumeric函数源程序

2018-09-06 12:34

阅读:429

  <%
Function StripNonNumeric(strInput)
Dim iPos, sNew, iTemp
strInput = Trim(strInput)
Then
iPos = 1
iTemp = Len(strInput)
= iPos
If IsNumeric(Mid(strInput,iPos,1)) = True Then
sNew = sNew Mid(strInput,iPos,1)
End If
iPos = iPos + 1
Wend
Else
sNew =
End If
StripNonNumeric = sNew
End Function
%>



评论


亲,登录后才可以留言!