How to extract the file name from path?

i am using directory get files after that i want to get filename from that what i can do?

here we assume that you are using for each

string=item.tostring.replace(filepath+“",”")

1 Like

string means var or syntax?

string_variable

1 Like

This topic was automatically closed 3 days after the last reply. New replies are no longer allowed.