title: VBScript: how to find the difference between two strings that look identical
body: <p>There are two strings "test_name" that are compared in a VB script. They have to be identical, and they look identical in debug viewer, but StrCompare(string1, string2) returns 1.</p>
  
  <p><em>History.</em>
  This is a test in QTP. The first string is read from Excel. The second one is from a windows application. QTP reads a value from Excel, enters it to a windows form, and then reads the same value from another place. The test passes if these two values are identical.</p>
  
  <p>How to find a difference in these two strings so that I can correct the test?</p>