String.Format can do that. Read the documentation and it will tell you all about what it can do.