Jump to content

String append: Difference between revisions

(REXX added)
Line 18:
</pre>
 
=={{header|PerlD}}==
<lang perld>myimport $str = "foo"std.stdio;
 
$str .= "bar";
void main() {
print $str, "\n";</lang>
string s = "Hello";
s ~= " world!";
writeln(s);
}</lang>
{{out}}
<pre>foobarHello world!</pre>
 
=={{header|Perl 6}}==
Anonymous user
Cookies help us deliver our services. By using our services, you agree to our use of cookies.