> my $folder = "foldername"; > my string1 = "\\server\alias\*****\file\";
should be $string1 =)
> # how to make string1 = \\server\alias\foldername\file\
$string1 =~ s/\*{5}/$folder/g;
the {number} means how many exactly times to match the 'stuff' ( here is * )
before.
Rgds,
Connie
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]
