Learn R Programming

wrapr (version 2.1.0)

split_at_brace_pairs: Split strings at -pairs.

Description

Split strings at -pairs.

Usage

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

Value

array or list of split strings.

Arguments

s

string or list of strings to split.

open_symbol

symbol to start marking.

close_symbol

symbol to end marking.

Examples

Run this code

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

Run the code above in your browser using DataLab