Re: Fw: [PHP] Loooooooooonnnnnnnnnnggggggggg

2002-11-20 Thread Marek Kilimajer
: php.general To: "PHP" <[EMAIL PROTECTED]> Sent: Tuesday, November 19, 2002 2:30 PM Subject: Re: Fw: [PHP] Loonng Your function seems to return string before first occurence of '*'. This should be faster: function conte($string) {

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 PROT

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,