Learn R Programming

filesstrings (version 1.1.0)

str_list_remove_empties: Remove empty strings from a character list.

Description

Remove empty strings from a character list.

Usage

str_list_remove_empties(char_list)

Arguments

char_list

A list of character vectors.

Value

A list of character vectors.

Examples

Run this code
# NOT RUN {
str_list_remove_empties(list(c("a", "", "b"), "gg", c("", 1, "")))
# }

Run the code above in your browser using DataLab