Driver program to test above functions
public static void Main ( ) { String str = " One ▁ twothree STRNEWLINE ▁ four TABSYMBOL five ▁ " ; Console . WriteLine ( " No ▁ of ▁ words ▁ : ▁ " + countWords ( str ) ) ; } }