slashencode

Encode a String by escaping it with slashes.


Syntax


Parameters

  • String subject - The String to encode.


Result

  • String - The encoded String.

Returns subject with backslashes in front of single quotes ('), double quotes ("), backslashes (\), and nulls (ASCII 0).