title: How to remove starting 0's in uitextfield text in iphone sdk
body: <p>Code Snippet:</p>
  
  <blockquote>
  <pre><code>    NSString *tempStr = self.consumerNumber.text;        
  
      if ([tempStr hasPrefix:@"0"] &amp;&amp; [tempStr length] &gt; 1) {
          tempStr = [tempStr substringFromIndex:1];
  
          [self.consumerNumbers addObject:tempStr];&gt;           
      }
  </code></pre>
  </blockquote>
  
  <p>I tried those things and removing only one zero. how to remove more then one zero </p>
  
  <p>Output :001600240321</p>
  
  <p>Expected result :1600240321</p>
  
  <p>Any help really appreciated</p>
  
  <p><strong>Thanks in advance !!!!!</strong></p>