in reply to Re: Stripping parts of paths from directory names
in thread Stripping parts of paths from directory names

Or in one line ... map {$path="/web$_"} split('/web','/home/sites/site18/users/rjoseph/web/images/image1.jpg');print $path Yields: /web/images/image1.jpg ---- Coyote (aka: Rich Anderson)