• 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
Quick way to find is a path is contained in another path?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Quick way to find is a path is contained in another path?


  • Subject: Quick way to find is a path is contained in another path?
  • From: Laurent Daudelin <email@hidden>
  • Date: Fri, 18 Mar 2011 15:59:33 -0700

I have a couple of ideas using "pathComponents" but does anybody have a quick way to find if a given path is contained in another path, e.g. if "/Library/Users/laurent/Library" is contained in "/Library/Users/laurent" (in this case, it is)?

-Laurent.
--
Laurent Daudelin
AIM/iChat/Skype:LaurentDaudelin 				http://www.nemesys-soft.com/
Logiciels Nemesys Software              			email@hidden

_______________________________________________

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

  • Follow-Ups:
    • Re: Quick way to find is a path is contained in another path?
      • From: "Gary L. Wade" <email@hidden>
    • Re: Quick way to find is a path is contained in another path?
      • From: Mike Abdullah <email@hidden>
  • Prev by Date: Re: NSTask is intermittently failing to return results.
  • Next by Date: Splitting a single Core Data model between several files
  • Previous by thread: Re: Releasing memory allocated by CoreData's _PFAllocateObjects function?
  • Next by thread: Re: Quick way to find is a path is contained in another path?
  • Index(es):
    • Date
    • Thread