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