WLJS LogoWLJS Notebook

FileTemplate

FileTemplate["file"] yields a TemplateObject expression representing a file template to be applied using functions like TemplateApply.

Examples

Create a file template:

template = FileTemplate["letter.txt"]

Apply a template:

TemplateApply[FileTemplate["greeting.txt"], <|"name" -> "Alice"|>]

Please visit the official Wolfram Language Reference for more details.

On this page