Count Words In String

  1. Dim ContentString As String = "Arrested Development"
  2. Dim WordCounter As Integer = UBound(Split(Trim(Replace(ContentString, Space(2), Space(1))))) + 1


Written by