removeEmpty2: Remove Empty Elements from Vector of Character

View source: R/removeEmpty2.R

removeEmpty2R Documentation

Remove Empty Elements from Vector of Character

Description

Remove Empty Elements from Vector of Character

Usage

removeEmpty2(x, dbg = FALSE)

Arguments

x

vector of character

dbg

if TRUE (the default is FALSE) a message about the number of removed elements is printed

Examples

removeEmpty2(c("a", "", "c"))
removeEmpty2(c("a", "", "c", "", "e"), dbg = TRUE)

KWB-R/kwb.utils documentation built on April 1, 2024, 7:12 a.m.