How to find the length of a string in R
Asked 07 September, 2021
Viewed 2.5K times
  • 54
Votes

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

And what about Unicode strings? How do I find the length (in bytes) and the number of characters (runes, symbols) in a Unicode string?

Related Question:

6 Answer