make_sandwiches: Recombines "sandwich" elements in proper order

View source: R/utils-split.R

make_sandwichesR Documentation

Recombines "sandwich" elements in proper order

Description

Helper for split_sandwiches. Once sections have been identified and extracted, recombines them in the correct order.

Usage

make_sandwiches(meat, top_buns, bottom_buns = NULL)

Arguments

meat

Character vector containing string sections between delimiters

top_buns

Character vector containing starting delimiters

bottom_buns

Character vector containing ending delimiters

Value

A character vector.


kbodwin/flair documentation built on Feb. 6, 2023, 4:24 p.m.