format_str {hypeR} | R Documentation |
Format a string using placeholders
format_str(string, ...)
string |
A an unformatted string with placeholders |
... |
Variables to format placeholders with |
A formatted string
## Not run: format_str("Format with {1} and {2}", "x", "y") ## End(Not run)