Cuts the script
Syntax
'Declaration
Public Overloads Shared Function CutScript( _
ByVal As String, _
ByVal As Integer, _
ByVal 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 ,
int ,
bool
)
public function CutScript(
: String;
: Integer;
: Boolean
): String; static;
public static function CutScript(
: String,
: int,
: boolean
) : String;
public: static string* CutScript(
string* ,
int ,
bool
)
public:
static String^ CutScript(
String^ ,
int ,
bool
)
Parameters
- script
- The script.
- lineCount
- How man lines to return
- htmlEncode
- Encode html text
See Also