hey guys, i have a function that can recognize a space character in a string... how can i get it to replace a space with a underscore character
Code:
Public Function RemoveSpaces(strInput As String)
' Identifies spaces in a string of text
If InStr(txtEmail, " ") = 0 Then
msgbox "Spaces are not allowed)
Else: Exit Function
End Function
Comment