Method ContainsNewLineChars
ContainsNewLineChars(string)
Determines whether the specified string contains CR (\r) or LF (\n) characters.
public static bool ContainsNewLineChars(string input)
Parameters
input
stringThe string to check.
Returns
- bool
true
if the string contains CR or LF characters; otherwise,false
.