the user wrote some words in the multiline textbox, i want to write a code on the (click button) event, the result of this action msgbox tell him-user-how many words he is actuly wrote.
my idea was
( declare for example x as string & x=" " )here i have a value of x which equal one space" ", if i could count number of x in the text i will know how many words by adding 1 to number of x)
it was my thought but any method will help .
thanks for reading
my idea was
( declare for example x as string & x=" " )here i have a value of x which equal one space" ", if i could count number of x in the text i will know how many words by adding 1 to number of x)
it was my thought but any method will help .
thanks for reading