my $full_file = '/usr/local/prj/code/prog/prog1'; print "Filename is: " . (split '/', $full_file)[-1];
In reply to Re: strip substring from long string
by mlh2003
in thread strip substring from long string
by Anonymous Monk
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |