Quantcast
Channel: string trim
Browsing all 3 articles
Browse latest View live

string trim

use System.IO.Path to get the file name, just like below,string filePath = "z:\EXPORTED\Batch000012\12345.csv"//Get the filename without extensionstring fileName =...

View Article



string trim

You should check out the Path class: http://msdn.microsoft.com/en-us/library/system.io.path.aspxGetFileNameWithoutExtension should be, what you are looking for.With kind regards,Konrad

View Article

string trim

string:   "z:\EXPORTED\Batch000012\12345.csv" desired output:   12345 want to trim a string that it will return only filename (without extension)??? 

View Article
Browsing all 3 articles
Browse latest View live




Latest Images