title: Different length for same string
body: <p>I am getting two different count values for same string </p>
  
  <pre><code> $val1 = $data-&gt;sheets[0]['cells'][5][1];//thise value is from excel sheet 
   $val2 = $obj-&gt;number; // this is the value from database
  
   var_dump(trim($val1)) , var_dump(trim($val2))
  
  string(19) "US5922335A" ,  string(10) "US5922335A" 
  </code></pre>
  
  <p>first values is getting from excel sheet(xls)and The second value is am getting from Mysql table after performing Select query 
  , i am unable to perform comparision like as both are having different length . </p>
  
  <pre><code>if($val1==$va2)
  {
      echo "Found it ";   
  }
  </code></pre>
  
  <p>How can i make it to have a same length so that i can compare it.</p>