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
 

Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments. After that, you can post your question and our members will help you out.

Ask a Question

Similar Threads

replace values 19
print picture 2
file size 9
dll problem 3
listview 3
pdf files 1
file path 2
check disabled 3

Back
Top