premail: Extract prefixes from a vector of email addresses

Description Usage Arguments Value Examples

Description

This function extracts the prefixes, i.e. everything before the @ symbol, from a vector of email addresses.

Usage

1

Arguments

x

A vector of text strings, each of which is an email address.

Value

The email prefixes, i.e. everything before the @ symbol.

Examples

1
2
emails <- c("foo@bar.com", "bar@foo.com")
premail(emails)

fditraglia/frankmisc documentation built on May 16, 2019, 12:11 p.m.