• 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: @Strings and strings in C
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: @Strings and strings in C


  • Subject: Re: @Strings and strings in C
  • From: Marc Weil <email@hidden>
  • Date: Sun, 29 Jun 2003 09:15:11 -0400

Read the NSString docs at Apple's website.
http://developer.apple.com/documentation/Cocoa/Reference/Foundation/ObjC_cla
ssic/Classes/NSString.html

You might have to pay particular attention to the methods listed under
"Getting C Strings", as a C String is the same thing as a byte string.

- Marc Weil

-----BEGIN GEEK CODE BLOCK-----
Version: 3.1
GCS/IT/CM d- s: a--- C++++>$ UB*++++ P++ L+ E---- W++++ N+ o? K- w---
O? M++>$ V? PS PE Y+ PGP t 5 X R- tv+ b+ DI-- D? G e(+++) h! !r y--
------END GEEK CODE BLOCK------



On 6/29/03 8:33 AM, "Sanri Parov" <email@hidden> wrote:

> Hi everybody,
>
> I'm dealing with BerkeleyDB for my database application 'cause I find
> it very easy to use.
> I can't understand very well from Apple docs the difference between how
> the strings are handled in ObjC and C.
> How can I transform a string to a byte string, in order to let it be
> accepted by BerkeleyDB? To say, converting from @"Hello" to "Hello"?
>
> TY
_______________________________________________
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.

References: 
 >@Strings and strings in C (From: Sanri Parov <email@hidden>)

  • Prev by Date: @Strings and strings in C
  • Next by Date: Re: NSImage drawing way too small
  • Previous by thread: @Strings and strings in C
  • Next by thread: Re: @Strings and strings in C
  • Index(es):
    • Date
    • Thread