- Home
·
- String Manipulation
·
- Filter a string from these characters: _ - ( ) < > / , or you can add other characters that you do
Filter a string from these characters: _ - ( ) < > / , or you can add other characters that you do
Filter a string from these characters: _ - ( ) < > / , or you can add other characters that you do not want to be part of the string.
Rate Filter a string from these characters: _ - ( ) < > / , or you can add other characters that you do
(2(2 Vote))
Public Function strfltr(passstr As String) As String
Dim vlen As Variant
Dim txtmid As String
Dim i As Integer
vlen = Len(passstr)
For i = 1 To vlen
txtmid = Mid(passstr, i, 1)
If txtmid <> "_" And txtmid <> "-" And txtmid <> "(" And txtmid <> ")" And txtmid <> "/" And txtmid <> "," Then
strfltr = strfltr + txtmid
End If
Next
End Function
Filter a string from these characters: _ - ( ) < > / , or you can add other characters that you do Comments
No comments yet — be the first to post one!
Post a Comment