Selerix Developer Tools
CutScript(String,Int32,Boolean) Method






Selerix.Foundation Assembly > Selerix.Foundation.Data Namespace > Utils Class > CutScript Method : CutScript(String,Int32,Boolean) Method
The script.
How man lines to return
Encode html text
Cuts the script
Syntax
'Declaration
 
Public Overloads Shared Function CutScript( _
   ByVal script As String, _
   ByVal lineCount As Integer, _
   ByVal htmlEncode As Boolean _
) As String
'Usage
 
Dim script As String
Dim lineCount As Integer
Dim htmlEncode As Boolean
Dim value As String
 
value = Utils.CutScript(script, lineCount, htmlEncode)
public static string CutScript( 
   string script,
   int lineCount,
   bool htmlEncode
)
public function CutScript( 
    script: String;
    lineCount: Integer;
    htmlEncode: Boolean
): String; static; 
public static function CutScript( 
   script : String,
   lineCount : int,
   htmlEncode : boolean
) : String;
public: static string* CutScript( 
   string* script,
   int lineCount,
   bool htmlEncode
) 
public:
static String^ CutScript( 
   String^ script,
   int lineCount,
   bool htmlEncode
) 

Parameters

script
The script.
lineCount
How man lines to return
htmlEncode
Encode html text
See Also

Reference

Utils Class
Utils Members
Overload List