note 13615 added to function.strrpos.php

From: Date: Mon, 25 Jun 2001 00:02:54 +0000
Subject: note 13615 added to function.strrpos.php
Groups: php.notes 
Request: Send a blank email to php-notes+get-14611@lists.php.net to get a copy of this message
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"); :-) http://www.php.net/manual/en/function.strrpos.php

« previous php.notes (#14611) next »