WebUtils.EncodeJsString
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 text)
© West Wind Technologies, 2025 • Updated: 2025-03-06
Comment or report problem with topic