in reply to remove the part of the string that is after the second to last '/'
$var = "one/two/three/four/five/six/"; split /\//, $var; pop; $var = $var . $_ foreach(@_);
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re: Re: remove the part of the string that is after the second to last '/'
by Juerd (Abbot) on Mar 08, 2002 at 09:10 UTC |