Xbasic

A5_IS_EMAIL_VALID Function

Syntax

result as L = a5_is_email_valid(C email_address )

Arguments

email_addressCharacter

One or more email addresses separated by commas or semicolons.

Returns

resultLogical

.T. = Indicates that the email address format is correct. .F. = Indicates that the email address format is incorrect.

Description

The A5_IS_EMAIL_VALID() function reports whether email addresses are properly formatted. Multiple email addresses should be separated by commas or semicolons.

Example

? a5_is_email_valid("[email protected]@nonsense.com")
= .F.

See Also