Method NeedRestoreControlChars
NeedRestoreControlChars(string?)
Determines whether the input string contains escape sequences like \r, \n, \t, \xNN, or \uNNNN that would be interpreted by RestoreControlChars(string?).
public static bool NeedRestoreControlChars(string? input)
Parameters
input
stringThe string to inspect.
Returns
- bool
true
if the string contains any recognizable escape sequence; otherwise,false
.