split_at_brace_pairs: Split strings at -pairs.

View source: R/split_at_brace_pairs.R

split_at_brace_pairsR Documentation

Split strings at -pairs.

Description

Split strings at -pairs.

Usage

split_at_brace_pairs(s, open_symbol = "{", close_symbol = "}")

Arguments

s

string or list of strings to split.

open_symbol

symbol to start marking.

close_symbol

symbol to end marking.

Value

array or list of split strings.

Examples


split_at_brace_pairs("{x} + y + {z}")


wrapr documentation built on Aug. 20, 2023, 1:08 a.m.