Dim strString As String
strString = "some text"
strString = Replace(strString , Chr(32) , "" )
'// strString now would show as "sometext"
Dim s As String = " this is a test "
Dim words() As String
words = s.Trim().Split(" "c)
Console.WriteLine(words(1)) ' Displays "is"