ZennoLab Assemblies Documentation
PrepToJavaScriptEval Method
Example 

Type: System.String

The source string.

Performs the text preparing for JavaScript evaluation.
Syntax
public static string PrepToJavaScriptEval( 
   string sourceString
)

Parameters

sourceString

Type: System.String

The source string.

Return Value

Type: System.String

The text after preparing for JavaScript evaluation.

Example
The following example shows call the PrepToJavaScriptEval method.
// perform the text preparing for JavaScript evaluation.
string preparedText = Macros.TextProcessing.PrepToJavaScriptEval("text for JavaScript");
// perform the text preparing for JavaScript evaluation.
$preparedText = Macros::TextProcessing::PrepToJavaScriptEval("text for JavaScript");
Requirements

Target Platforms: Desktop: Windows XP SP3 and older. Server: Windows Server 2003 and older.

See Also

Reference

TextProcessing Class
TextProcessing Members

Send Feedback