Advertisement
5_2007-2008 Internet/ HTML #173626

ValidateEmail

Provides the user with a means of validating an email address. Using the like keyword, checks the email address with a specific pattern and will pick up on invalid chars for example, [email protected] will return false as would john.doe@com.

AI

Shrnutí AI: This codebase represents a historical implementation of the logic described in the metadata. Our preservation engine analyzes the structure to provide context for modern developers.

Zdrojový kód
original-source
Public Function ValidateEmail(strEmail As String) As Boolean
 
ValidateEmail = strEmail Like "*@[A-Z,a-z,0-9]*.*"
 
End Function
Původní komentáře (3)
Obnoveno z Wayback Machine