Please enable JavaScript to view this site.

Knowledge Base

Gets the file basename from a string.

 

Supported Product: FDTD, MODE, DEVICE, INTERCONNECT

 

Syntax

Description

out = filebasename( "location/filename.ext" );

Returns the file basename as a string.

 

Examples

Isolates the file basename from the full filename.

?filebasename("C:\Users\myname\Documents\FDTD Files\test.fsp");

test

 

See Also

System level, currentfilename, getpath, which, pwd, filedirectory, fileextension

Copyright Lumerical Inc. | Privacy | Site Map