Thursday, June 3, 2010

Find number of words in string

Dim MyString, MyReturn
MyString = "VBScriptXisXfun!"
MyReturn = Len(MyString)
MsgBox MyReturn

No comments: