how do I remove the extension from a path?
how do I remove the extension from a path?
- Subject: how do I remove the extension from a path?
- From: "Alan Smith" <email@hidden>
- Date: Sun, 30 Apr 2006 10:21:14 -0400
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?
Thanks, Alan
--
// Quotes from yours truly -------------------------
"You don't forget, you just don't remember."
"Maturity resides in the mind."
_______________________________________________
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