Method TrimWhitespaceAndBrackets
TrimWhitespaceAndBrackets(string?)
Removes all leading and trailing brackets and white-space characters from the specified string. Uses bracket characters from BracketsChars.
public static string TrimWhitespaceAndBrackets(string? text)
Parameters
text
stringText to trim.