Functionsfile_nameVersion: v4.24On this pagefile_nameExtracts the file name from a file path.file_name(x:string) -> stringDescriptionThe file_name function returns the file name component of a file path, excluding the parent directories.ExamplesExtract the file name from a file pathfrom {x: file_name("/path/to/log.json")}{x: "log.json"}See Alsoparent_dir