The following line of code shows you the convenience function for replacing placeholders within character-strings.

var myText = ReplacePlaceholder("This is my {{status}} text.", "status", "perfect");

The first parameter is the text-template that contains a placeholder in couble-curly-brackets.

The second parameter is the exact name of the placeholder that should be replaced by the value provided in the third parameter.

Table of Contents