Description Usage Arguments Details Value Author(s) See Also Examples
This is the fastest way to find out whether the elements of a character vector are empty strings.
1 |
str |
character vector or an object coercible to |
Missing values are handled properly.
Returns a logical vector of the same length as str
.
Marek Gagolewski and other contributors
The official online manual of stringi at https://stringi.gagolewski.com/
Other length:
%s$%()
,
stri_length()
,
stri_numbytes()
,
stri_pad_both()
,
stri_sprintf()
,
stri_width()
1 2 3 | stri_isempty(letters[1:3])
stri_isempty(c(',', '', 'abc', '123', '\u0105\u0104'))
stri_isempty(character(1))
|
Add the following code to your website.
For more information on customizing the embed code, read Embedding Snippets.