Learn R Programming

webdeveloper (version 1.0.5)

findTemplateVars: 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)

Value

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

Arguments

x

HTML string to check for placeholder.

Examples

Run this code
findTemplateVars(x = html(body(templateVar("body_var"))))

Run the code above in your browser using DataLab