title: How to get certain letters of an argument Discord.js
body: <p>So I am making a mute command and I would like to know how to get certain letters of an argument for example if the user enters the command <strong>=mute &lt;user&gt; 1d</strong> I would like to get the letter 'd' from the 2nd argument, I tried to achieve this by using</p>
  <pre><code>args[1].charAt(1)
  </code></pre>
  <p>but that did not work for some reason, I also tried using</p>
  <pre><code>args[1].toString().charAt(1)
  </code></pre>
  <p>but that didn't work either, so I tried to search online for a fix, but I couldn't really find one that worked for me, if you do know how to do this, please let me know, if you do not understand my question let me know and I will try to explain it better for you.</p>