Possible Duplicate:
How would you count occurences of a string within a string (C#)?
I am reading a file in line by line and need to count the number of tabs that each string contains. How can I get a count of the tabs i.e. \t from the string.
Thanks for your help