fileName
Syntax
string fileName(filePath)
Parameters
- filePath (string)
Returns
Returns file name of given filePath.
Description
This function returns the file name (without the directory part) of the given filePath.
Related
- assetApproxRatio function
- assetApproxSize function
- assetBestRatio function
- assetBestSize function
- assetFitSize function
- fileBasename function
- fileDirectory function
- fileExtension function
- fileRandom function
- imageApproxRatio function
- imageBestRatio function
Examples
fileName("assets/obj/mygeometry.01.obj") # result = "mygeometry.01.obj"
Copyright ©2008-2024 Esri R&D Center Zurich. All rights reserved.