Re: String to Integer conversion and vice versa
Re: String to Integer conversion and vice versa
- Subject: Re: String to Integer conversion and vice versa
- From: John Pannell <email@hidden>
- Date: Mon, 12 Jun 2006 10:30:14 -0600
Hi Aalok-
I think you are looking for the intValue (on NSString) and
stringValue (on NSNumber) methods.
HTH!
John
John Pannell
Positive Spin Media
http://www.positivespinmedia.com
On Jun 12, 2006, at 10:25 AM, Aalok wrote:
Hi all,
Can I convert my string to integer in Objective-C? In java I do it
with Integer.parseInt
for the other way I use int+"" to convert int to string.
Please help
Regards,
Aalok
--
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
40positivespinmedia.com
This email sent to email@hidden
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden