Is there a way to achieve similar functionality to String.Format in C# using TypeScript?
I'm thinking of creating a string like this:
url = "path/{0}/{1}/data.xml"
where I can substitute {0} and {1} based on the logic. While I can manually replace them, I believe having a function like String.Format would make it clearer.