info.mailtraq.com > Management > Script Functions A-Z > UserOf() UserOf()Extracts the username from an email address string.
username := UserOf( address )
- address
- The address string from which a username is to be extracted
- username
- A string containing the extracted username
//Example usage
"fred" := UserOf("fred@home.example.com")
"user" := UserOf("Fred Bloggs <user@home.example.com>") |