Is there a function which searches through a string for a character, then replaces each one found with something (in my case, i just want the character deleting)
Dim strMyString As String
Dim strMyStringReplaced As String
strMyString = "Here I will remove all the spaces"
strMyStringReplaced = Replace(strMyString, " ", "", 1, , vbTextCompare)
Debug.Print strMyStringReplaced
This site uses cookies to help personalise content, tailor your experience and to keep you logged in if you register.
By continuing to use this site, you are consenting to our use of cookies.