LocateBraces

0th

Percentile

Locate the braces in a string.

Give the positions of (, ), [, ], {, } within a string.

Usage
LocateBraces(string)
Arguments
string

A character vector

Value

A list of data frames (tibbles), 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.

Aliases
  • LocateBraces
Examples
LocateBraces(c("a{](kkj)})", "ab(]c{}"))
Documentation reproduced from package filesstrings, version 0.4.0, License: GPL-3

Community examples

Looks like there are no examples yet.