references:joomla.framework:filesystem:jfile-getextgetExt
Gets the extension of a file name. The function returns all the characters after the last ‘. ' in the string. Syntaxstring getExt ( $file )
ExamplesExample: This example gets the extension of a file. Example echo JFile::getExt( 'images/stories/clock.jpg' ); which will produce: Result jpg Discussion |


