You can provide a string with placeholders, which are replaced by substitute values at runtime.
Let's create a label with the value Hello {0} and name it greeting. You can dynamically replace {0} with an attribute value. The syntax uses the format function, as follows:
{!format($Label.c.greeting, v.name)} ;//here name is the attribute on the component