title: Select every nth character from a string
body: <p>I have a string of random letters with random spaces and some periods as well. I want to <em>take every nth value</em> (e.g. every 10th) from it. My thought was that if I can transpose it then I can use the row numbers to select for every nth value. Any help is appreciated!</p>
  <pre><code>string &lt;- &quot;hutmnycdsldzlkt.ytairuaypk  dq.gubgp hyfjuwvpcdmvqxfcuhapnx&quot;
  </code></pre>