title: How to indicate if string has numeric value
body: <p>I loop over string variable <code>data</code> which may have integer numeric value, like <code>"123"</code>. If this string variable has numeric value, I want to indicate it and thought to use some like this:</p>
  
  <pre><code>If IsNumeric(CInt(data)) Then 
      WScript.Echo "Number"
  Else
      WScript.Echo "String"
  End If
  </code></pre>
  
  <p>But <code>CInt()</code> raises error every time <code>data</code> variable can't be converted to integer:  </p>
  
  <p><code>Type mismatch: 'CInt'</code></p>
  
  <p>How can I indicate if string has integer value in vbscript?</p>