escape

escapes data

string escape(string value);
valuestringinitial value
stringescaped value

Example

var text = dp.escape("some <?> data");

Details

By default the function uses UTF-8 escaping. If a custom escaping function is defined for the dataprocessor, it will be called instead.

See also
Back to top
Join Our Forum
We've retired comments here. Visit our forum for faster technical support, connect with other developers, and share your feedback there.