- Original Message -
From: Justin French [EMAIL PROTECTED]
To: Tristan Carron [EMAIL PROTECTED]
Sent: Tuesday, November 19, 2002 12:23 PM
Subject: Re: [PHP] Loonng
You should post this to the list, not me direct :)
Justin
on 19/11/02 10:10 PM, Tristan
Your function seems to return string before first occurence of '*'.
This should be faster:
function conte($string) {
return substr($string,0,strrpos($string,'*'));
}
Tristan Carron wrote:
- Original Message -
From: Justin French [EMAIL PROTECTED]
To: Tristan Carron [EMAIL PROTECTED]
2 matches
Mail list logo