Method NeedEscapeControlChars
NeedEscapeControlChars(string?)
Determines whether the input string contains any control characters (ASCII < 32).
public static bool NeedEscapeControlChars(string? input)
Parameters
input
stringThe string to check.
Returns
- bool
true
if the string contains at least one control character; otherwise,false
.