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
How to convert into to String in Java?
NSString to double
How to Convert ArrayList to Array?
how to convert ACSII to HEX
How to Convert String to Date?
How to convert a String to an int?
How to convert String into java.util.Date
NSString into the UILabel
how to convert jsp to exe
How to convert XML file to database ?
How to convert string to byte in Java
nsstring compare
how to convert sql into hql
NSString to double
HOW TO CONVERT THIS CODE INTO GUI
how to convert string to image in java
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
NSString to float conversion
How to convert Collection to Array in Java?
nsstring load from file
How ro convert char into string??
How to convert String to int in Java

Ads