Skip to contents

Split character vector between opening (1) and closing (2) matches

Usage

split_between_12(x, pat, border = c(0, 0), final)