Re: NSString -> char[]
Re: NSString -> char[]
- Subject: Re: NSString -> char[]
- From: David Remahl <email@hidden>
- Date: Sat, 18 May 2002 20:51:49 +0200
>
I know this is a relatively stupid question, but how do I do that? cString
>
doesn't work for my purposes, and casting to an array type doesn't work
>
either.
>
>
Thanks,
>
>
Clark
Hmm, why does not -cString work for your purposes?
char *aStr = [@"MyString" cString]
char aChar = str[i];
/ David
_______________________________________________
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.