without extension

  • Thread starter Thread starter Hrvoje Voda
  • Start date Start date
What I need is how to remove lust three simbols from a filename?
I put a full name into the database, and I want to show only file name
without extension.
 
What I need is how to remove lust three simbols from a filename?

Use the System.IO.Path.GetFileNameWithoutExtension method. Better not
assume that the file extension is always three characters.


Mattias
 
Back
Top