find_first_xml_opening_tag_line: Find the line number of the first section's opening tag

View source: R/find_first_xml_opening_tag_line.R

find_first_xml_opening_tag_lineR Documentation

Find the line number of the first section's opening tag

Description

Find the line number of the first section's opening tag

Usage

find_first_xml_opening_tag_line(lines, section)

Arguments

lines

the lines of an XML text

section

the name of the XML section

Value

the line number's index (which is 1 for the first line) if the opening tag is found, else NA

Author(s)

Richèl J.C. Bilderbeek


richelbilderbeek/beastscriptr documentation built on April 9, 2024, 2:28 p.m.