NSString, path and "/" char
NSString, path and "/" char
- Subject: NSString, path and "/" char
- From: Trygve Inda <email@hidden>
- Date: Fri, 24 Nov 2006 03:27:19 +0000
- Thread-topic: NSString, path and "/" char
I am using:
urlPath = (NSURL *) CFURLCreateCopyAppendingPathComponent (NULL, (CFURLRef)
parentFolder, (CFStringRef) filename, false);
parentFolder is an NSURL and filename is an NSString
How can I properly handle the case where filename contains an "/"?
Basically I have a string that I want to turn into a filename and append to
a partial path, but the string might contain "/". Note that the string might
contain ":" as well so I need to deal with that case as well.
Thanks,
Trygve
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Do not post admin requests or moderator comments to the list.
Contact the moderators at cocoa-dev-admins (at) lists.apple.com
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden