powered by
Returns the number of "code points", in a string.
n_char(string)
A string.
A numeric vector giving number of characters (code points) in each element of the character vector. Missing string have missing length.
# NOT RUN { n_char(letters) n_char(NA) # }
Run the code above in your browser using DataLab