Dim EmailAddress As String = "Example@Example.com"
If EmailAddress Like "*?@?*.?*" Then
Diagnostics.Debug.WriteLine("Email address syntax is correct.")
Else
Diagnostics.Debug.WriteLine("Email address syntax is wrong.")
End If
Tips and tricks for .NET using ASP and VB code.
Subscribe to:
Post Comments (Atom)
No comments:
Post a Comment