Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Info

Note that there are no forward slashes at the beginning of a relative path. Dot slash notation “./” is not supported.

Using the replace()

...

Function

Using the replace() routine function is absolutely essential if we want to treat data values as a variable. In our example below, let’s say we want to create a custom template. To create a variable in the target file, wrap the variable name in curly braces using the following format: ${<name of variable goes here>}.

...