Hi all,
I have written this tiny snippet. Could you look into as to why it does not return any results
Thanks a lot guys.
I have written this tiny snippet. Could you look into as to why it does not return any results
Code:
Function removow(Val As String) As String
Dim length As Integer
Dim Concat As String
Dim Cntr As Integer
Cntr = 1
length = (Len(Val))
While Cntr <= length
If Mid(Val, Cntr, 1) <> "a" And Mid(Val, Cntr, 1) <> "e" And Mid(Val, Cntr, 1) <> "i" And Mid(Val, Cntr, 1) <> "o" And Mid(Val, Cntr, 1) <> "u" Then
Concat = Concat & Mid(Val, Cntr, 1)
End If
Cntr = Cntr + 1
Wend
End Function
Thanks a lot guys.