title: How to find a character in a string?
body: <p>I have already checked topics similar to this one but no one has been able to solve this problem.</p>
  
  <p>So, I have to look for a character inside a string but it doesn't seem to work.</p>
  
  <pre><code>if (tracciatonuovos.find('T'))
  {
      nterminale++;
  }
  </code></pre>
  
  <p>The counter does not increase. But if I try to find an empty space, it counts for me, and yet the string is full</p>
  
  <p><img src="https://i.stack.imgur.com/MnY1z.png" alt="see image of output"></p>
  
  <p>First value is string, second is length of string, and third is the value of counter "nterminale".</p>