Crag Wolfe aac3e7aae6 Add new hot function str_replace_strict
In many cases, a user would rather see an error result if a
str_replace param is not substituted in the template, rather than the
function silently doing nothing.

Since str_replace is set in its ways, introduce a new function
str_replace_strict which behaves identically to str_replace except
that a ValueError is raised if any of the param's are not found
in the template.

Change-Id: I8b8c69bb49dfeb74e05af4871602c20493b081eb
2016-10-10 10:24:55 -07:00
..
2015-06-16 11:35:02 +02:00
2016-09-21 14:53:36 +08:00
2016-04-13 09:45:12 +02:00
2016-08-31 18:14:57 +07:00