Escape Method

MCManager API

Escapes a string so it's JavaScript compatible. Converts ' and " to \' and \".

Namespace:  Moxiecode.Manager.Utils
Assembly:  MCManager (in MCManager.dll) Version: 1.0.0.0

Syntax

C#
public static string Escape(
	string str
)
Visual Basic (Declaration)
Public Shared Function Escape ( _
	str As String _
) As String
Visual C++
public:
static String^ Escape(
	String^ str
)

Parameters

str
Type: System..::.String
String to escape.

Return Value

Escaped string.

See Also