note 91660 deleted from function.substr by danbrown

From: Date: Mon, 22 Jun 2009 12:45:25 +0000
Subject: note 91660 deleted from function.substr by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-157221@lists.php.net to get a copy of this message
Note Submitter: bytepirate ---- @kaysar <?php echo substr($filename, 0, strrpos($filename,'.')); ?> should do the same job with less code ;-)

« previous php.notes (#157221) next »