Menu

Want to work with us? We're on the lookout for a UX/UI Designer and Digital Project Manager.

We're hiring

Validation String Check For Invalid Characters

Web Bureau


10 November 2010 by Web Bureau

sInvalidChars = "!#$%^&*()=+{}[]|\;:'/?>,< "

For iPos = 1 To Len(AddressString)

  If InStr(sInvalidChars, Mid(AddressString, iPos, 1)) > 0 Then
    IsValidEmailAddress = False
    Exit Function
  End If

Next

 

Grow your businessStart a project with us today.