format_str {hypeR}R Documentation

Format a string using placeholders

Description

Format a string using placeholders

Usage

format_str(string, ...)

Arguments

string

A an unformatted string with placeholders

...

Variables to format placeholders with

Value

A formatted string

Examples

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

## End(Not run)


[Package hypeR version 1.2.0 Index]