In C# there is the $
operator for strings:
$"Some Text here with {aVariable}";
Is there a similar way of doing that in Java?
The current way I do this is:
"Some Text here with " + aVariable;
In C# there is the $
operator for strings:
$"Some Text here with {aVariable}";
Is there a similar way of doing that in Java?
The current way I do this is:
"Some Text here with " + aVariable;