|
-
Jan 17th, 2002, 12:09 AM
#1
Thread Starter
Addicted Member
Validation
Hi All,
Does anyone has a function that validates the fax number.Plz help me on this.Thankz in advance.
-
Jan 17th, 2002, 12:15 AM
#2
Conquistador
what can't be in a fax number?
-
Jan 17th, 2002, 12:21 AM
#3
Frenzied Member
You just proved that sig advertisements work.
-
Jan 17th, 2002, 12:27 AM
#4
Thread Starter
Addicted Member
Validation
i want to remove all characters other than the numbers
-
Jan 17th, 2002, 12:57 AM
#5
Registered User
VB Code:
Function ExtractNumbers(s As String) As String
Dim ba() As Byte,v As byte,i&
ba = s
For i = 0 To UBound(ba) step 2
v = ba(i)
If v > 47 And v < 58 Then ExtractNumbers = ExtractNumbers & Chr$(v)
Next i
End Function
Posting Permissions
- You may not post new threads
- You may not post replies
- You may not post attachments
- You may not edit your posts
-
Forum Rules
|
Click Here to Expand Forum to Full Width
|