Table of Contents

Method NeedRestoreControlChars

Namespace
Alternet.Common
Assembly
Alternet.Common.v10.dll

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 string

The string to inspect.

Returns

bool

true if the string contains any recognizable escape sequence; otherwise, false.