dot-format_str: Format a string using placeholders

Description Usage Arguments Value Examples

Description

Format a string using placeholders

Usage

1
.format_str(string, ...)

Arguments

string

A an unformatted string with placeholders

...

Variables to format placeholders with

Value

A formatted string

Examples

1
2
3
4
## Not run: 
format_str("Format with {1} and {2}", "x", "y")

## End(Not run)

hypeR documentation built on Nov. 8, 2020, 8:19 p.m.