title: Excel VBA StrComp returns false with exact same values
body: <p>I'm using Excel VBA in a project, and at some point, a StrComp() is called and returns <code>False</code> as my two strings are exactly the same.</p>
  <p>Here is the function I use :</p>
  <pre><code>Public Function checkNoChantier(noChantier As String) As Boolean
      Dim txtComp As String
  
      txtComp = p_ligne.Cells(1, indexColonne(&quot;Numéro de chantier&quot;)).Value
      checkNoChantier = StrComp(noChantier, txtComp)
  End Function
  </code></pre>
  <p>When I use spies, here are the values of <code>txtComp</code> and <code>noChantier</code> :</p>
  <pre><code>Watch :   :             noChantier : &quot;21511I164&quot; : String : LigneBaseFHT.checkNoChantier
  Watch :   :             txtComp : &quot;21511I164&quot; : String : LigneBaseFHT.checkNoChantier
  </code></pre>
  <p>I can't understant why this issue occures, I'd be glad if someone could help me.</p>