Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

for(let [key,val] in obj){ messageBody = messageBody.replace("{"+ key + "}",val) }

    for (let key in obj){
      messageBody = messageBody.replace("{"+ key + "}", obj[key])
    }
 
PREVIOUS NEXT
Tagged: #messageBody #key
ADD COMMENT
Topic
Name
8+4 =