7
Aiming at the String.Format
from C#, which is very easy to use, I searched for something similar to be used in my Javascript codes.
I found some rather problematic implementations, aiming at this, I would like that if someone has a succinct and functional code, that share it with our community.
Something that works that way:
String.Format("String {0}.", "format");
//Resultado: "String format"
Related: Template String in Javascript
– rray
Was that I only floated, I did not understand what you want to do, and looking at the answers there yes I was sure that I did not understand anything.. rsrsrsr
– SneepS NinjA
As such @Sneepsninja rs .. is that in c# has this estring format above which is very practical .. to concatenate text in the middle of the string.. ai was looking for a similar implementation. Get it ? : D
– Brunno
Bro, if you think I didn’t get it... would you just concatenate like "string" + "other" ? I guess I didn’t get it because I don’t know anything about
c#
– SneepS NinjA