This counts how many certain characters are in a string.
This counts how many certain characters are in a string.
Rate This counts how many certain characters are in a string.
(2(2 Vote))
CountChar = 0
For i = 1 To Len(StringToSearch)
If Mid(StringToSearch, i, 1) = Character Then CountChar = CountChar + 1
Next i
End Function
This counts how many certain characters are in a string. Comments
No comments yet — be the first to post one!
Post a Comment