String concatenation: Difference between revisions
Content deleted Content added
No edit summary |
No edit summary |
||
Line 1,899:
end;
end;</lang>
=={{header|S-BASIC}}==
<lang BASIC>
rem - the + operator is used to concatenate strings
var s1, s2 = string
s1 = "Hello"
print s1 + ", world"
s2 = s1 + ", world"
print s2
end
</lang>
{{out}}
<pre>
Hello, world
Hello, world
</pre>
=={{header|Scala}}==
|