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