Find a string inside another string. Returns number of hits.
Find a string inside another string. Returns number of hits.
Rate Find a string inside another string. Returns number of hits.
(2(2 Vote))
If MatchCase Then FindString = (Len(Source) - Len(Replace(Source, Find, ""))) / Len(Find)
If Not MatchCase Then FindString = (Len(Source) - Len(Replace(LCase(Source), LCase(Find), ""))) / Len(Find)
'Easy, aint it? have fun! Mathieu Klomp.
End Function
Find a string inside another string. Returns number of hits. Comments
No comments yet — be the first to post one!
Post a Comment