references:joomla.framework:filesystem:jfile-stripextstripExt
Strips the last extension off a file name. This function will remove the last ‘.’ and all following characters from the string. Syntaxstring stripExt ( $file )
ExamplesExample: This example reads the robot.txt file. Example echo JFile::stripExt( 'application.html.php' ); which might produce something like: Result application.html DiscussionDan3000, 2006/04/30 11:25: This example reads the robot.txt file ??? |


