Use C-style String Formatting Commands
Convenience wrapper for sprintf
that allows recycling of of length one.
S(x, ...)
x
: A single string containing "%s"
."%s"
in x
or of length one (if length one will be recycled).Returns a string with "%s"
replaced.
S("@after_", "the", "the") # Recycle S("@after_", "the") S("@rm_between", "LEFT", "RIGHT")
sprintf