• 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: NSString -> char* ?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: NSString -> char* ?


  • Subject: Re: NSString -> char* ?
  • From: Chris Garaffa <email@hidden>
  • Date: Mon, 25 Aug 2003 12:56:44 -0400

Hi Pei,


On Monday, August 25, 2003, at 12:26 PM, Pei Xiang wrote:
has anybody experience in converting NSString to
char*? or is there any better way to solve my problem?
thanks a lot!


I'd check out the following NSString methods:
- cString:
- lossyCString:
- getCString: (and variants)
- UTF8String:

in file:///Developer/Documentation/Cocoa/Reference/Foundation/ ObjC_classic/Classes/NSString.html

--
Chris Garaffa
email@hidden
203.319.5129
_______________________________________________
cocoa-dev mailing list | email@hidden
Help/Unsubscribe/Archives: http://www.lists.apple.com/mailman/listinfo/cocoa-dev
Do not post admin requests to the list. They will be ignored.

  • Follow-Ups:
    • Re: NSString -> char* ? Use -[NSString UTF8String].
      • From: Chris Hanson <email@hidden>
References: 
 >NSString -> char* ? (From: Pei Xiang <email@hidden>)

  • Prev by Date: Re: NSString -> char* ?
  • Next by Date: Page Breaks in NSTextViews
  • Previous by thread: Re: NSString -> char* ?
  • Next by thread: Re: NSString -> char* ? Use -[NSString UTF8String].
  • Index(es):
    • Date
    • Thread