title: How to find the length of a string in R
body: <p>How to find the length of a string (i.e., 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.</p>
  <p>And what about Unicode strings? How do I find the length (in bytes) and the number of characters (runes, symbols) in a Unicode string?</p>
  <p><em>Related Question:</em></p>
  <ul>
  <li><a href="https://stackoverflow.com/questions/42481827/how-to-find-the-real-number-of-characters-in-a-unicode-string-in-r">How to find the &quot;real&quot; number of characters in a Unicode string in R</a></li>
  </ul>