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
inputstringThe string to inspect.
Returns
- bool
trueif the string contains any recognizable escape sequence; otherwise,false.