This code will remove all blank spaces from a string. How are you becomes Howareyou.
This code will remove all blank spaces from a string. How are you becomes Howareyou.
Rate This code will remove all blank spaces from a string. How are you becomes Howareyou.
(1(1 Vote))
Dim i As Integer
strString = "How are you?"
For i = 1 To Len(strString)
strCharacter = Mid(strString, i, 1)
If strCharacter <> " " Then
strResult = strResult & strCharacter
End If
Next i
This code will remove all blank spaces from a string. How are you becomes Howareyou. Comments
No comments yet — be the first to post one!
Post a Comment