Encodes a string to be represented as a string literal. The format is essentially a JSON string that is returned in double quotes.
The string returned includes outer quotes: "Hello "Rick"!\r\nRock on"
public static string EncodeJsString(string s)
See also:Class WebUtils
Comment or report problem with topic