Sprintf
cdf.dashboard. Sprintf
require(["cdf/dashboard/Sprintf"], function(Sprintf) {
var firstName ="John";
var info = Sprintf("%s %s is %d years old!", firstName,"Doe", 42);
//info =="John Doe is 42 years old!"});require(["cdf/dashboard/Sprintf"], function(Sprintf) { /* code goes here */ });Last updated
Was this helpful?

