Get the filename (last path component) of a path string
import "file" print file.name("/home/user/docs/report.txt") // "report.txt"
There was an error while loading. Please reload this page.