This function is used to get the particular string occurences count from the given input string.
--examples
select dbo.fn_get_string_occurences_count('The quick brown fox jumps over the lazy dog','brown')
select dbo.fn_get_string_occurences_count('The quick brown fox jumps over the lazy dog','the')
Regards,
Vignesh Arulmani