Learn R Programming

mindr (version 1.2.1)

get_heading: get the headings out of given strings

Description

get the headings out of given strings

Usage

get_heading(pattern = "^#+ ", text)

Arguments

pattern

The definition of the headings

text

the given strings

Value

integer. the index of the headings in the given strings.