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