note 88732 deleted from function.strpos by danbrown

From: Date: Thu, 05 Feb 2009 02:27:19 +0000
Subject: note 88732 deleted from function.strpos by danbrown
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-150240@lists.php.net to get a copy of this message
Note Submitter: Tblue ---- jburns131 at jbwebware dot com, try this function... <?php function beginsWith( $haystack, $needle ) { return strpos( $haystack, $needle ) === 0; } ?>

« previous php.notes (#150240) next »