• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
Re: String to Integer conversion and vice versa
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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
  • Follow-Ups:
    • Re: String to Integer conversion and vice versa
      • From: "Finlay Dobbie" <email@hidden>
References: 
 >String to Integer conversion and vice versa (From: Aalok <email@hidden>)

  • Prev by Date: Re: Write File with NSData
  • Next by Date: Re: NSTokenFieldCell limitations?
  • Previous by thread: String to Integer conversion and vice versa
  • Next by thread: Re: String to Integer conversion and vice versa
  • Index(es):
    • Date
    • Thread