Hello All,
I am displaying a form which has a dynamic dropdown menu. As you see in the picture, my drop down reads complete path. How to read only file name?
I have used assign function using System.IO.Directory.GetFiles (file path) as array of string. I am not able to see any option to read array of string without extension. I tried path.GetFileNameWithoutExtension(AssignedPath) but this also gives me error and doesnt work.
Is there any way to just display file name?