by Anthony Loera (7 Submissions)
Category: String Manipulation
Compatability: VB 6.0
Difficulty: Unknown Difficulty
Originally Published: Tue 21st August 2001
Date Added: Mon 8th February 2021
Rating: (1 Votes)
This function makes sure you have only one space in between words, instead of multiple spaces in a string. I also have a ton of organized free
Dim strA As String
Dim i As Integer
strA = str
For i = 20 To 2 Step -1
strA = Replace(strA, Space(i), Space(1))
Next i
KillSpaces = strA
End Function
No comments have been posted about This function makes sure you have only one space in between words, instead of multiple spaces in a . Why not be the first to post a comment about This function makes sure you have only one space in between words, instead of multiple spaces in a .