Re: Tokenizing a returned path?
Re: Tokenizing a returned path?
- Subject: Re: Tokenizing a returned path?
- From: "Clark S. Cox III" <email@hidden>
- Date: Wed, 04 Sep 2002 15:26:54 -0400
On 09/04/2002 15:05, "TJ Marbois" <email@hidden> wrote:
>
Hi
>
>
I have a method that returns the full path for a file as a NSString...the
>
problem is - I need to separate the fileName from the path...
file = [someString lastPathComponent]
path = [someString stringByDeletingLastPathComponent]
Both are declared in Foundation/NSPathUtilities.h
--
http://homepage.mac.com/clarkcox3/
Clark S. Cox III
_______________________________________________
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.