• Open Menu Close Menu
  • Apple
  • Shopping Bag
  • Apple
  • Mac
  • iPad
  • iPhone
  • Watch
  • TV
  • Music
  • Support
  • Search apple.com
  • Shopping Bag

Lists

Open Menu Close Menu
  • Terms and Conditions
  • Lists hosted on this site
  • Email the Postmaster
  • Tips for posting to public mailing lists
separating file name and path
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

separating file name and path


  • Subject: separating file name and path
  • From: Mike Abdullah <email@hidden>
  • Date: Tue, 19 Jul 2005 18:15:40 +0100

In my app, I have to take the path for a file, e.g. "/Users/Mike/ Desktop/Hello.scpt" and get both the file path, and the name of the path. I.e. I want to end up with two strings/paths which are "/Users/ Mike/Desktop/" and "Hello.scpt"

Does anyone know of an easy method for separating the 2?

Cheers,
Mike.
_______________________________________________
Do not post admin requests to the list. They will be ignored.
Cocoa-dev mailing list      (email@hidden)
Help/Unsubscribe/Update your Subscription:
This email sent to email@hidden


  • Follow-Ups:
    • Re: separating file name and path
      • From: Andy Lee <email@hidden>
    • Re: separating file name and path
      • From: Zach Wily <email@hidden>
  • Prev by Date: Re: unreleased retained objects
  • Next by Date: Re: separating file name and path
  • Previous by thread: Re: unreleased retained objects
  • Next by thread: Re: separating file name and path
  • Index(es):
    • Date
    • Thread