$var = "one/two/three/four/five/six/"; split /\//, $var; pop; $var = $var . $_ foreach(@_);
In reply to Re: remove the part of the string that is after the second to last '/'
by SgtClueLs
in thread remove the part of the string that is after the second to last '/'
by einerwitzen
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |