Count words in a sentence
This shows how you could count the amount of words In sentence.
'the String To check
strText = "This Is our sample Text For this example"
'split the strText
arrText = Split(strText ," ")
'store the amount of words into intWords
intWords = UBound(arrText )
'display how many words are In the sentence
Response.Write "There are " & intWords & " words In " & strText
which gives you the following