I\'m working on a password validation routine, and am surprised to find that VB does not consider \'*\' to be a symbol per the Char.IsSymbol() check. Here is the output from
If you simply need to know that character is something else than digit or letter, use just
!char.IsLetterOrDigit(c)
preferably with
&& !char.IsControl(c)