Sunday, December 25, 2016

c# find number of occurance of substring in string

Regex.Matches(inputstring, substring).Count

No comments: