FormatString

script:FormatString(template,v0,v1,v2,v3.....)

Build a string based on a template, with substitutions of any values.

Parameters:

template - specify a string (enclosed in single quotes) with placeholders for where the values should be substituted.

v0, v1, v2 .... values to be substituted, can be strings or addresses to questions etc

Example:

script:FormatString('https://survey.quenchtec.net/p?qif={0}&qsid={1}&amp,\@sys_baselineid,\@sys_qsid)

Will generate a string like:

https://survey.quenchtec.net/p?qif=83dfb689-4859-4999-b291-29b15a203bdb&qsid=47033bcf-0124-4b26-b4ea-30726bd5357c