title: How to avoid parsing address as float in Javascript
body: <p>I am working on javascript code that parses a tab delimited document. In order to facilitate searching I need to convert those properties that are a number to a float. However, mixed fields (like an address) should maintain the status of a String.</p>
  
  <pre><code>for(var i2=0;i2&lt;line1.length;i2++){
        var test = local[i2];
        if(! (typeof test === 'undefined')){
          test = test.trim();
        };
        var parsed = parseFloat(test);
        if(!isNaN(parsed)){
          if(line1[i2] === "Site Address")
            console.log("Number before:"+local[i2]+" After:"+parsed);
          object[line1[i2]]=parsed;
        }
        else{
          if(line1[i2] === "Site Address")
            console.log("before:"+local[i2]+" After:"+test);
          object[line1[i2]]=test;
        }
      }
  </code></pre>
  
  <p>This seems to work ok unless there are both numbers and chars like the following....</p>
  
  <pre><code>Number before:1752 E MAIN ST After:1752
  </code></pre>
  
  <p>Is there a way to do this where the above is not seen as explicitly a number?</p>