Call this member function to retrieve the file extension.

syntaxSyntax:
DlxFile.GetFileExt()

Return Value

If successful, it returns the file extension otherwise it returns an empty string.

Example

  Copy codeCopy code
var file = new DlxFile("demofile.txt");
DlxApp.Printf(file.GetFilePath());
DlxApp.Printf(file.GetFileFolder());
DlxApp.Printf(file.GetFileName());
DlxApp.Printf(file.GetFileTitle());
DlxApp.Printf(file.GetFileExt());

See also