findTemplateVars: Find the names of any placeholder variables that exist in a...

View source: R/webdeveloper.R

findTemplateVarsR Documentation

Find the names of any placeholder variables that exist in a HTML document string.

Description

Find the names of any placeholder variables that exist in a HTML document string.

Usage

findTemplateVars(x)

Arguments

x

HTML string to check for placeholder.

Value

A vector of the names of template vars found in the HTML string.

Examples

findTemplateVars(x = html(body(templateVar("body_var"))))

webdeveloper documentation built on Oct. 18, 2022, 9:06 a.m.