Learn R Programming

detector (version 0.1.0)

is_email_address: Test if a string is an e-mail address.

Description

Test if a string is an e-mail address.

Usage

is_email_address(.x)

Arguments

.x
A character vector.

Value

A logical value indicating if that string is an e-mail address.

Examples

Run this code
# Examples
is_email_address("hello") # FALSE
is_email_address("hello@world.edu") # TRUE

Run the code above in your browser using DataLab