Not sure at all what do you want to "remove" but there is a Replace function in VB6 to replace text with some other text:
strNewText = Replace(strOldText,"search_char","replace_char")
In your case (I guess) "replace_char" should be empty string.