Skip to contents

Extract domain of email address

Usage

domain(addr)

Arguments

addr

An address object.

Value

A character vector.

Examples

domain("alice@example.com")
#> [1] "example.com"