int countSpaces = mystring.Count(Char.IsWhiteSpace); // will gives you the number of white spaces in the input string (mystring)
I Count the white spaces but I Want .. if(countnospace > 5) { display the text after that 5 spaces in a text box. same way check for next... }
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)