fileDirectory function

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

Syntax

  • string fileDirectory(string path)

Returns

Returns file directory of given path, without file name.

Description

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

Related

Examples

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

In this topic