Fw: [PHP] Loooooooooonnnnnnnnnnggggggggg

2002-11-19 Thread Tristan Carron
- 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

Re: Fw: [PHP] Loooooooooonnnnnnnnnnggggggggg

2002-11-19 Thread Marek Kilimajer
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]