format_str: Format a string using placeholders

View source: R/utils.R

format_strR 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)


montilab/ConAn documentation built on July 11, 2022, 6:42 p.m.