====== stripExt ======
{#JAPI Joomla.Framework FileSystem JFile::stripExt #}
Strips the last extension off a file name. This function will remove the last '.' and all following characters from the string.
===== Syntax =====
string stripExt ( **$file** )
| **$file** | string | is a string containing the file name. |
===== Examples =====
Example: This example reads the robot.txt file.
echo JFile::stripExt( 'application.html.php' );
which might produce something like:
application.html
----
~~DISCUSSION~~