The function ecm:extractDomain extracts the domain part of the specified email address. If the specified value is null or is not a valid email address, the function returns a null value. The value returned is a string data type.
Example
${ecm:extractDomain('user@ecircle.com')}
CODE
Structure
ecm:extractDomain(string)
Parameters
Parameter | Description |
---|
string | Specifies the target string for extraction of the email domain. |