Check documentation for the latest version of dhtmlxSuite getFileExtension DHTMLX Docs

getFileExtension

gets file extension from the filename

string getFileExtension(string fileName);
fileNamestringfilename, for example "readme.txt"
stringfile extension

Example

var ext = myVault.getFileExtension("readme.txt"); // "txt"

Details

This API page is for Vault v2.5. Please go to docs.dhtmlx.com/vault/ to see API reference for the current version of dhtmlxVault.

Back to top