StringBuilder.ToTemplateBuilder (nuget): The StringBuilder is optimized to append text and compromises other methods like Replace(..). The TemplateBuilder is available on the StringBuilder as an extension method ‘ToTemplateBuilder()’ and is optimized for replacing variables with values within the templated string. The TemplateBuilder  is optimized for merging name-value-pairs into a templated string and providing a merged document. The Template Builder is designed to maximize through put over using the String and StringBuilder Replace(name value) method.
Keywords: StringBuilder|String|Template