StringUtils.CountLines

Returns a line count for a string

public static int CountLines(string s)

Parameters

s
string to count lines for