User Tools

Site Tools


Sidebar

file:filename

filename()

Function that returns the file name from an absolute path to a file.

Usage

var myfilepath = "C:/myfile.txt";
var filename = filename(myfilepath);

Parameters

Parameter Data type Required Description
absolutepath string True The full path to a file

Return values

Value Meaning
filename The file name, such as myfile.txt
file/filename.txt · Last modified: 2017/05/25 10:19 (external edit)