develooper Front page | perl.beginners | Postings from December 2002

help with substitution

Thread Next
Erik Browaldh
December 11, 2002 01:09
help with substitution
Message ID:
Hi everyone, thanks for the help last time!

if I have two strings

and another given string:
$givenword="XXX-"; #with the same length as $word !!!

what I want to do is transform "XXX_"  --> "cow-"

I have tried but cant figure out going characterwise, all I get in the 
end is like this:

thanks in advanced!


Thread Next Perl Programming lists via nntp and http.
Comments to Ask Bjørn Hansen at | Group listing | About