It seems like you're need named parameters (as presented in example), but please take in account, that
* Format relies on exact order (and type) of parameters.
* TParams (this is what is used for SQL) works with named parameters, but intended to work with SQL.
* There are
some template engines, which of course work with named parameters.
But the last two seems like an overkill for your task (as presented in example) and I'd rather go with either Format or your own simple Search/Replace - based code.