escape

escapes data

string escape(string value);

Parameters

valuestringinitial value

Returns

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