powered by
Convenience wrapper for sprintf that allows recycling of ... of length one.
sprintf
S(x, ...)
Returns a string with "%s" replaced.
"%s"
A single string containing "%s".
A vector of substitutions equal in length to the number of "%s" in x or of length one (if length one ... will be recycled).
x
S("@after_", "the", "the") # Recycle S("@after_", "the") S("@rm_between", "LEFT", "RIGHT")
Run the code above in your browser using DataLab