Parses a string into an array of lines broken by \r\n or \n
public static String[] GetLines(string s, int maxLines)
Return Value
array of strings, or null if the string passed was a null
Parameters
s
String to check for lines
maxLines
Optional - max number of lines to return
See also:
Class StringUtils© West Wind Technologies, 1996-2024 • Updated: 06/29/24
Comment or report problem with topic