Mario Kulka wrote: > I am trying to extract ".jpg" (subtype of the file) from the string: > c:\my_files\file.jpg
Two more:
$type = (split /\./, $string)[-1];
or
($type) = $s =~ m[.*\.(.*)];
Rob
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
