Email Addresses
The Protector stage library includes the following category functions for email addresses. You can use these functions only in stages included in the Protector stage library.
- EMAIL:domain()
- Returns the domain of email addresses. The domain is everything after the @ symbol.
- EMAIL:domainTLD()
- Returns the top level domain (TLD) of the email address. The TLD is the last part of the domain, such as com, gov, or org.
- EMAIL:domainWithoutTLD()
- Returns the domain without the TLD part of the email address.
- EMAIL:localPart()
- Returns the local part of email addresses. The local part is everything before the @ symbol.
- EMAIL:std()
- Returns the email address in the following standard
format:
<local part>@<domain>