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)
Parameters
s
See also:
Class WebUtils© West Wind Technologies, 1996-2016 • Updated: 12/12/15
Comment or report problem with topic