Latest Tutorials| Questions and Answers|Ask Questions?|Site Map



Home Answers Viewqa Mobile-Applications How to convert NSString to NSInteger?
Login         

View Questions and Answers by Category

Advertisements


 
Have Programming Question? Ask it here!
 
 
 


Deepak Kumar
How to convert NSString to NSInteger?
1 Answer(s)      3 years and 11 months ago
Posted in : MobileApplications


Hi,

Provide me code to convert NSString into NSInteger.

Thanks


Advertisement
View Answers

December 21, 2010 at 3:59 PM


Hi,

Use the following code example:

NSString * s= @"100";
NSInteger i = [s intValue];

Thanks



Related Tutorials/Questions & Answers:
Advertisements
 

 

 

DMCA.com