note 37911 deleted from function.substr by aidan

From: Date: Sat, 03 Jul 2004 07:43:59 +0000
Subject: note 37911 deleted from function.substr by aidan
References: 1  Groups: php.notes 
Request: Send a blank email to php-notes+get-72365@lists.php.net to get a copy of this message
Note Submitter: manoutas ---- /********************************************************************* * This function returns a new string of the string you send inn. * * You have just to specify where you want the string to start & end * * substrpos(string,stringstart,stringend); * *********************************************************************/ function substrpos($str, $start , $end){ $lenStr= strpos($str,$end) -strpos($str, $start); return substr($str, strpos($str,$start), $lenStr); }

« previous php.notes (#72365) next »