Javascript File name

From FreeSWITCH Wiki

Jump to: navigation, search

Contents

Description

Returns the name of the current file without the directory part

Synopsis

name

Example

var fd = new File("/tmp/blah");
console_log(fd.name);

See Also

Javascript

Personal tools
Community