String concatenation: Difference between revisions

Content added Content deleted
(→‎{{header|MATLAB/Octave}}: works in Octave too)
m (move PL/I and PowerShell)
Line 755: Line 755:
say $s;</lang>
say $s;</lang>
Note also that most concatenation in Perl is done implicitly via interpolation.
Note also that most concatenation in Perl is done implicitly via interpolation.

=={{header|PicoLisp}}==
<lang PicoLisp>(let Str1 "First text"
(prinl Str1 " literal")
(let Str2 (pack Str1 " literal")
(prinl Str2) ) )</lang>


=={{header|PL/I}}==
=={{header|PL/I}}==
Line 781: Line 787:
echo $s1 . "\n";
echo $s1 . "\n";
?></lang>
?></lang>

=={{header|PicoLisp}}==
<lang PicoLisp>(let Str1 "First text"
(prinl Str1 " literal")
(let Str2 (pack Str1 " literal")
(prinl Str2) ) )</lang>


=={{header|PureBasic}}==
=={{header|PureBasic}}==