Re: @Strings and strings in C
Re: @Strings and strings in C
- Subject: Re: @Strings and strings in C
- From: Jeff Harrell <email@hidden>
- Date: Sun, 29 Jun 2003 09:59:23 -0500
On Sunday, June 29, 2003, at 07:33 AM, Sanri Parov wrote:
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"?
const char* hello = [@"Hello" cString];
(It works for NSString objects of all sorts, even statically allocated
constants as you see here.)
--
email@hidden
http://homepage.mac.com/jharrell
_______________________________________________
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.