Remove spaces from a string in VB.NET - Stack Overflow
You can also use a small function that will loop through and remove any spaces. This is very clean and simple. Public Shared Function RemoveXtraSpaces(strVal As String) As String Dim iCount As Integer = 1 Dim sTempstrVal As String ......