fileName

Syntax

string fileName(filePath)

Parameters

Returns

Returns file name of given filePath.

Description

This function returns the file name (without the directory part) of the given filePath.

Related

Examples

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

Copyright ©2008-2025 Esri R&D Center Zurich. All rights reserved.