by James Kelly (1 Submission)
Category: String Manipulation
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Mon 11th August 2003
Date Added: Mon 8th February 2021
Rating: (1 Votes)
Counts the number of words in a string - faster than previous examples seen on this site.
sText = Trim(sText)
wA = Split(sText, " ")
Wordcount = UBound(wA) + 1
End Function
No comments have been posted about Counts the number of words in a string - faster than previous examples seen on this site.. Why not be the first to post a comment about Counts the number of words in a string - faster than previous examples seen on this site..