| locate_braces {filesstrings} | R Documentation |
Give the positions of (, ), [, ], {, } within a string.
locate_braces(string)
string |
A character vector |
A list of data frames, one for each member of the string character vector. Each data frame has a "position" and "brace" column which give the positions and types of braces in the given string.
locate_braces(c("a{](kkj)})", "ab(]c{}"))