Learn R Programming

wrapr (version 1.9.6)

split_at_brace_pairs: 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

Run this code
# NOT RUN {
split_at_brace_pairs("{x} + y + {z}")

# }

Run the code above in your browser using DataLab