safe_inserter()
Insert a subject name into a string if %s is present.
str
String to fill.
The string to put in string if '%s' is present.
string
'%s'
The modified string.