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