Logo

Programming-Idioms

Create the string s by concatenating the strings a and b.
Implementation
Ada

Implementation edit is for fixing errors and enhancing with metadata. Please do not replace the code below with a different implementation.

Instead of changing the code of the snippet, consider creating another Ada implementation.

Be concise.

Be useful.

All contributions dictatorially edited by webmasters to match personal tastes.

Please do not paste any copyright violating material.

Please try to avoid dependencies to third-party libraries and frameworks.

Other implementations
s := a + b
s = a ++ b
const s = a + b;
let s = format!("{}{}", a, b);
let s = a + b;
s := a + b;
s = a + b
s = a + b
s = a // b
s = a <> b
val s = a + b
$s = $a.$b;
String s = a.concat(b);
String s = a + b;
my $s = $a . $b;
s = a & b
var s = '$a$b';
var s = a + b;
string s = a + b;
string s = String.Concat(a,b);
(def s (str a b))
local s = a..b
String s = String.format("%s%s", a, b);
s = a <> b
#include <iostream>
#include <string>
std::string a{"Hello"};
std::string b{"world"};
auto s = a + b;