Toggle menu

helper.utilEscValueSelector(v)

Returns an escaped form of a text string.

This function is useful for retrieving text suitable for use as the value of a selection list.

Arguments

ArgumentTypeDescription
vString, requiredThe value to escape

Returns

String

Example

In this example the variable 'STUFF' has the value <p>.

helper.utilEscValueSelector(helper.getVariable('STUFF'))

Returns

"\\<p\\>"

Last modified on 23 March 2023

Share this page

Facebook icon Twitter icon email icon

Print

print icon