How to find the length of a string (number of characters in a string) without splitting it in R? I know how to