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 Articlestring 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 Articlestring 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
More Pages to Explore .....