RE: [PHP] How do I chop off the beginning of a string? (Correction)
| From: | Craig Vincent | Date: | Wed, 12 Jul 2000 16:17:29 +0000 |
| Subject: | RE: [PHP] How do I chop off the beginning of a string? (Correction) | ||
| References: | 1 | Groups: | php.general |
| Request: | Send a blank email to php-general+get-6177@lists.php.net to get a copy of this message | ||
> $variable = ereg_replace('^.*(=>)+?','',$variable);
I messed that up :) It should be
$variable = ereg_replace('^.*(=>)+?','=>',$variable);
Sincerely,
Craig Vincent