Or maybe, since Perl300 is happy to use the concatenation operator:
c:\@Work\Perl>perl -wMstrict -le "my $string1 = 'Hello'; my $string2 = ' World'; ;; $string1 = substr($string1, 0) . $string2; print qq{'$string1'}; " 'Hello World'
Give a man a fish: <%-(-(-(-<
In reply to Re^2: How to append a string at the end of another string using substr
by AnomalousMonk
in thread [Solved]: How to append a string at the end of another string using substr
by Perl300
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |