parse_string: Parse a string and extract information to a dataframe.

View source: R/4_internal_functions.R

parse_stringR Documentation

Parse a string and extract information to a dataframe.

Description

This function similar to regexp2df, but accepts both strings and functions as values of argument pattern.

Usage

parse_string(x, pattern, ignore.case = FALSE, ...)

Arguments

x

A string to be parsed

pattern

Either a string with regular expression or a function.

ignore.case

A logical parameter to be passed to regexp2df.

...

further parameters to be passed to regexp2df.

Value

A data frame with parsed information.


GegznaV/spHelper documentation built on April 16, 2023, 1:42 p.m.