# nchar counts the characters in each string print(nchar("hello")) print(nchar(c("a", "bb", "ccc")))
count characters