wwWebUtils.EncodeJsString

Encodes a string to be represented as a string literal. The format is essentially a JSON string.

The string returned includes outer quotes Example Output: "Hello \"Rick\"!\r\nRock on"

public static string EncodeJsString( string s );

Parameters

s


See also:

Class wwWebUtils


  Last Updated: 7/7/2008 | © West Wind Technologies, 2008