C: treated as a path component
C: treated as a path component
- Subject: C: treated as a path component
- From: Dragan Milić <email@hidden>
- Date: Wed, 15 Apr 2009 01:57:56 +0200
Hell all,
Let's suppose I've got NSString @"C:omponent" , which represents the
name of a file. Is there a way to instruct NSString class not to treat
a leading single letter followed by a column as a path separator?
Namely, I need this one treated as only one path component
@"C:omponent", but NSString sees two, @"C:" and "omponent". So, if I
ask for the last path component, I get @"omponent" instead of the
whole string @"C:omponent".
I've searched documentation, took a look into NSPathUtilities.h, but
no help.
Thanks,
Milke
_______________________________________________
Cocoa-dev mailing list (email@hidden)
Please 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