string path="C:\\Users\\Dattatray\\Desktop\\Rajendra 12-mar\\BookMyShow\\BookMyShow\\Images\\gabbar-2014.jpg"; string filename = Path.GetFileName(path);
string[] stp = path.split("//"); string res = stp[stp.length - 1];
string.split
var
This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)