fileBasename function

This 2019.0 documentation has been archived and is no longer updated. Content and links may be outdated. See the latest documentation.

Syntax

  • string fileBasename(string path)

Returns

Returns file base name of given path, without directory prefix and file extension.

Description

The fileBasename function returns the file base name (without the directories or extension) of the given path.

Related

Examples

fileBasename("assets/obj/mygeometry.01.obj")
	# result = "mygeometry.01"

In this topic