CuttleText
Work Those Strings
CuttleText is a super lightweight text processing engine, specifically designed to inject code segments into source code files (though, just like duct tape isn't only for ducts, CuttleText isn't only for CS files).
Loads more information and screenshots on The CuttleText github page.