StringUtils.GetLines

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-2020 • Updated: 07/15/20
Comment or report problem with topic