note 13615 deleted from function.strrpos by didou

From: Date: Sun, 10 Aug 2003 03:09:53 +0000
Subject: note 13615 deleted from function.strrpos by didou
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-53793@lists.php.net to get a copy of this message
Note Submitter: spamme@reflex.at ---- why is there no startpos in this function *sigh* you could emulate by using substr... just get the 1st c... we say that we look for soneting before the 2nd a $str="abcdefabcdef" $max=strpos($str,"a",2); pos=strrpos(substr($str,0,$max),"c"); :-)

« previous php.notes (#53793) next »