New to php3 - pattern matching?
| From: | Geoff Cox | Date: | Sat, 22 Jul 2000 07:20:51 +0000 |
| Subject: | New to php3 - pattern matching? | ||
| Groups: | php.general | ||
| Request: | Send a blank email to php-general+get-7660@lists.php.net to get a copy of this message | ||
Hello,
have just installed php3 and mysql etc ... have used perl before
if I have $item which has a "/" in it and I want to remove it - perl
would be something like $item =~ s/\///;
How about php3?!
Cheers
Geoff