dodgerfan
asked on
Strip out file name without extension - c#
How can I strip get just the file name from a file, without the extesnion? I'd like to strip out the name of the file, for example, MyFile.ppt, all I want is MyFile? Is there a way to do this in c#? I think this is simple, but for some reason I'm drawing a blank.
System.IO.Path.GetFileWith outExtensi on("myFile .ppt")
ASKER CERTIFIED SOLUTION
membership
This solution is only available to members.
To access this solution, you must be a member of Experts Exchange.
ASKER
Perfect, thank you very much!
You're welcome, glad to help
Apresto
Apresto