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

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.