Aiming for the String.Format
of C #, which is very easy to use, I have searched for something similar to be used in my JavaScript codes.
I found some implementations that are somewhat problematic, so I would like you to have someone who has a succinct and functional code that shares it with our community.
Something that works this way:
String.Format("String {0}.", "format");
//Resultado: "String format"