How do i split at last bit

so i have some code that returns a file path, how do i cut off the last slash so everything in front is gone, leaving me with only the file name?

and this is the result:

i want to cut it off at last slash and delete everything in front, leaving just the file name.

Here's a simple explanation : Use the split text at block to split the text at every slash and form a list. Then use the select list item block with the list being the list you formed by splitting and the index being the length of list.

If you don't understand

Thanks, it is working!

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