Using Substring in C# reverse -
and have filepath "\abc\abx\file.pdf". how can folder path i.e. "\abc\abx\" using substring other way.
thank in advance.
use system.io.path class
var dir = path.getdirectoryname(@"\abc\abx\file.pdf"); and have filepath "\abc\abx\file.pdf". how can folder path i.e. "\abc\abx\" using substring other way.
thank in advance.
use system.io.path class
var dir = path.getdirectoryname(@"\abc\abx\file.pdf");
Comments
Post a Comment