String.format for when I have to work in javascript

I love working in C# but these days you cannot avoid javascript if you work in the web world. I really miss using String.format in javascript. Here is a snippet and example of what I do.

String.format in javascript

Let me know if you have a better idea!

by roballred via /r/csharp

Leave a Reply