sString = "D:\Inetpub\site\this\string"
iNumberOfSlashes = UBound(Split("\" & sString, "\")) - 1
Ray at work
"Qwip" <as***@emailasdasd.com> wrote in message
news:eh**************@tk2msftngp13.phx.gbl...
how can I count specific charaters in a string?
like the amount of backslashes in-
"D:\Inetpub\site\this\string"
TIA