fileName 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 fileName(string path)

Returns

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

Description

The fileName function returns the file name (without the directory part) of the given path.

Related

Examples

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

In this topic