• 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
Re: how do I remove the extension from a path?
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: how do I remove the extension from a path?


  • Subject: Re: how do I remove the extension from a path?
  • From: Nir Soffer <email@hidden>
  • Date: Sun, 30 Apr 2006 17:34:58 +0300


On 30/04/2006, at 17:21, Alan Smith wrote:

I have a app that loads the files from a directory. It works fine but I
don't want the path to have the extension on the end. Some of the files are
'.rtf' and the others are '.txt' Right now it goes through a loop and puts
all the file names in an array that is put in a table. How do I get rid of
the extension so the user doesn't see it?

Try <http://developer.apple.com/documentation/Cocoa/Reference/Foundation/ ObjC_classic/Classes/NSFileManager.html#//apple_ref/occ/instm/ NSFileManager/displayNameAtPath:>


Best Regards,

Nir Soffer

_______________________________________________
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


References: 
 >how do I remove the extension from a path? (From: "Alan Smith" <email@hidden>)

  • Prev by Date: Re: how do I remove the extension from a path?
  • Next by Date: Re: crash on window closing
  • Previous by thread: Re: how do I remove the extension from a path?
  • Next by thread: Column headers like the ones in iTunes 6
  • Index(es):
    • Date
    • Thread