Posted by ZeldorBlat on 06/21/07 15:00
On Jun 21, 10:14 am, monomaniac21 <mcyi2...@googlemail.com> wrote: > hi > > how can i take a string and delete everything up to and including the > first occurrence of a forward slash (/)? please help. > > regards > > marc You don't need a regular expression to do that: $str = 'some/string'; $str = substr($str, strpos($str, '/')+1);
[Reply to this message]
Copyright © 2005-2006 Powered by Custom PHP Programming