Learn R Programming

r2symbols (version 1.4)

is.empty: Is string empty

Description

Return TRUE or FALSE after checking if a string is empty

Usage

is.empty(string)

Value

Returns TRUE or FALSE

Arguments

string

the string to be checked

Examples

Run this code
string <- "r2resume"
string2 <- NULL
is.empty(string)
is.empty(string2)

Run the code above in your browser using DataLab