txx_finish_sections: Adds end tags to match start tags.

Description Usage Arguments Value

View source: R/txx_finish_sections.R

Description

Splits a string into the (incomplete) tagged sections according to the split character, then identifies the start tag and adds a corresponding end tag, and then recombines it into a single string.

Usage

1
txx_finish_sections(string, split = "¬")

Arguments

string

The character string containing a single entry. Should have already been through the xml-transforming process so should have start sections identified and wrapped into a start tag.

split

The character that is used to split the string

Value

A character string; a modified of string


michael-ccccc/textured documentation built on Dec. 21, 2021, 5:56 p.m.