Home > FRIT > GetExtension.m

GetExtension

PURPOSE ^

GetExtension: Determine the extension part of a filename

SYNOPSIS ^

function Ext=GetExtension(FileName)

DESCRIPTION ^

 GetExtension: Determine the extension part of a filename

 Ext=GetExtension(FileName)
 
 Return the last part of the filenanem starting from the character that
 follows the last dot in the FileName.
 -------------------------------------------------------------------------
 Parameters
 -------------------------------------------------------------------------
 FileName - a string that may or maynot contain the full path
 -------------------------------------------------------------------------
 Returned values
 -------------------------------------------------------------------------
 Ext - the last part of the filenanem starting from the character that
       follows the last dot in the FileName.
 -------------------------------------------------------------------------
 Remarks
 -------------------------------------------------------------------------

 Zsolt Csaba Johanyák, johanyak.csaba@gamf.kefo.hu, v. 1.0,  10. November 2006.

CROSS-REFERENCE INFORMATION ^

This function calls: This function is called by:
Generated on Fri 05-Sep-2008 09:37:47 by m2html © 2005