C-DEngine 5.105

TheCommonUtils..::..cdeJavaEncode4Line Method

Removes Javascript special characters.

Namespace:  nsCDEngine.BaseClasses
Assembly:  C-DEngine (in C-DEngine.dll)

Syntax


public static string cdeJavaEncode4Line(
	string ostr
)
Public Shared Function cdeJavaEncode4Line ( _
	ostr As String _
) As String
public:
static String^ cdeJavaEncode4Line(
	String^ ostr
)

Parameters

ostr
Type: String
The input string.

Return Value

A string that can be safely displayed in a browser.

Remarks


This function converts Javascript special characters into their HTML equivalent. For example, end of line characters are converted to >BR>.