How to convert NSString to NSInteger?

Ads
 

How to convert NSString to NSInteger?

Hi,

Provide me code to convert NSString into NSInteger.

Thanks

View Answers

December 21, 2010 at 3:59 PM

Hi,

Use the following code example:

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

Thanks

Ads









Related Tutorials/Questions & Answers:
How to convert NSString to NSInteger?
nsstring to nsinteger
Advertisements
How to Convert NSStringe into Uppercasestring iPhone
NSString to double
How to convert into to String in Java?
NSString into the UILabel
How to Convert ArrayList to Array?
nsstring compare
how to convert ACSII to HEX
NSString to double
How to Convert String to Date?
How to convert a String to an int?
How to convert String into java.util.Date
how to convert jsp to exe
How to convert XML file to database ?
How to convert string to byte in Java
how to convert sql into hql
HOW TO CONVERT THIS CODE INTO GUI
NSString to float conversion
how to convert string to image in java
nsstring load from file
NSString to float conversion
How to convert a swing form to PDF
How to convert eclipse project to Maven
how to convert json into dataframe in scala
how to convert string to double in java
how to convert string to double in java
how to convert string to double in java
how to convert string to double in java
How to convert Collection to Array in Java?
How ro convert char into string??

Ads