Could you help me for finding the file name from the string. Now i have one string of content like \"C:\\xxxx\\xxxx\\xxxx\\abc.pdf\". But i want only the file name ie. abc.p
System.IO.Path.GetFilename(yourFilename) will return the name of the file.