I have a string with say: My Name is %NAME% and my age is %AGE%.
My Name is %NAME% and my age is %AGE%.
%XXX% are placeholders. We need to substitute values there from an object.
%XXX%
As a quick example:
var name = 'jack'; var age = 40; console.log('%s is %d yrs old',name,age);
The output is:
jack is 40 yrs old