Function RemoveSpaces(str As String) As String
Try
RemoveSpaces = Replace(str, " ", "")
Catch ex As Exception
RemoveSpaces = str
End Try
End Function
Validation scripting guide
Back to scripting overview