# Concatenate strings using format!

* format!

* In this case all the strings are copied so it is less efficient than where we move the string, but this means we can continue to use the original variables.

{% embed include file="src/examples/strings/concatenation-with-format/src/main.rs" %}
{% embed include file="src/examples/strings/concatenation-with-format/out.out" %}


