excel - Vba Function that counts how many times a text is contained inside a string? -


i have specific question

there native vba function counts how many time text (such word or single character) repeats inside other text (string)?

it parameters 2 string values, example, , return integer/long value.

i looked among worksheet functions , couldn't find any. should make own one?

thanks much!

as doesn't exist in vba, should make own. can write loop using instr, counting number of iterations. should pretty performant won't have memory allocations, , vba's string functions fast.


Comments

Popular posts from this blog

toolbar - How to add link to user registration inside toobar in admin joomla 3 custom component -

linux - disk space limitation when creating war file -

How to provide Authorization & Authentication using Asp.net, C#? -