We've encountered an issue exporting this macro. Please try exporting this page again later.
Function to get the file name from a full file path.function getFileName(string filePath) { int start = lastIndexOf(filePath, "\\"); string fileName = trim(substring(filePath, start+1, length(filePath))); return fileName; }