CSharpScriptExecution.GetLines

Parses a string into an array of lines broken by \r\n or \n

public String[] GetLines(string s, int maxLines)

Parameters

s
String to check for lines

maxLines
Optional - max number of lines to return