String concatenation: Difference between revisions

Added Pike implementation
mNo edit summary
(Added Pike implementation)
Line 1,352:
(let Str2 (pack Str1 " literal")
(prinl Str2) ) )</lang>
 
=={{header|Pike}}==
<lang Pike>
string hello = "hello ";
write(hello + "world" + "\n");
string all_of_it = hello + "world";
write(all_of_it + "\n");
</lang>
{{Out}}
<pre>
hello world
hello world
</pre>
 
=={{header|PL/I}}==
Anonymous user