Re: NSMutableArray/NSArray and lossyCString
Re: NSMutableArray/NSArray and lossyCString
- Subject: Re: NSMutableArray/NSArray and lossyCString
- From: Hasan Diwan <email@hidden>
- Date: Sat, 15 Mar 2003 17:08:32 -0800
Hussain:
- (NSString *)componentsJoinedByString:(NSString *)s;
- (char *)lossyCString;
char *lossyCStringRepresentation = [[array
componentsJoinedByString:@""] lossyCString];
NSArray *b=[[NSString stringWithCString:lossyCString]
componentsSeparatedByString:foo];
Where foo is the string to split on.
On Saturday, March 15, 2003, at 10:34 AM, Hussain Bandukwala wrote:
>
2) Is there any way to convert an NSMutableArray or NSArray object
>
into a lossyCString representation where, the lossyCString
>
representation can be reconverted into an NSMutableArray or NSArray
>
object?
Hasan Diwan
OpenPGP KeyID: 0x7EE3855B
Fingerprint: 42F0 5758 C3EB BA1F ABD2 ED49 3390 CCF0 7EE3 855B
http://www.cs.rpi.edu/~diwanh/gpg.key
[demime 0.98b removed an attachment of type application/pgp-signature which had a name of PGP.sig]
_______________________________________________
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.