My opinion:
my $tmp = “rrccllrrc”; Expected output :
$tmp = “right right center center left left right right center”; #End should not be spaced definitely. My code:< /p>
$tmp=~s/c
My opinion:
my $tmp = “rrccllrrc”; Expected output :
$tmp = “right right center center left left right right center”; #End should not be spaced definitely. My code:< /p>
$tmp=~s/c
If at least one specific matching text is found in the text string, I need to make the condition true, for example:
str = “This is some text containing the word tiger.”
if string.match(str, “