powered by
This function removes all empty strings from a character vector.
stri_remove_empty(x, na_empty = FALSE)
a character vector
should missing values be treated as empty strings?
Always returns a character vector.
Other utils: stri_list2matrix, stri_na2empty
stri_list2matrix
stri_na2empty
# NOT RUN { stri_remove_empty(stri_na2empty(c("a", NA, "", "b"))) stri_remove_empty(c("a", NA, "", "b")) stri_remove_empty(c("a", NA, "", "b"), TRUE) # }
Run the code above in your browser using DataLab