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