I have two Simple string that contain path parent and contain file name, which is a separated string.
I want to combine those string in one valid string path:
Example :
Path = "C:/Servers/LOCAL/JOB TOMORI/01. SENORO - BLOCK/01. FILE 1/DATA DOKUMEN"
File = "C360_2018-01-15-13-08-32-149.jpg"
The Result that i want it shouldbe :
"C:/Servers/LOCAL/JOB TOMORI/01. SENORO - BLOCK/01. FILE 1/DATA DOKUMEN/C360_2018-01-15-13-08-32-149.jpg"
or
C:/Servers/LOCAL/JOB TOMORI/01. SENORO - BLOCK/01. FILE 1/DATA DOKUMEN/C360_2018-01-15-13-08-32-149.jpg
public IActionResult ViewFileExplorer(string node, string path, string ext)
{
if (ext != null)
{
var dir = node.Replace(@"\\", @"/");
string combine = dir + path;
}
return View();
}
Thank you