How to check if string includes any non-whitespace characters?
Is there a simple way to check if a string includes non-whitespace characters? I don't need to know what the character is, just that the string includes a non-whitespace character. For example, I want to know if the string includes any characters other than:
vbCr |
Chr(13) |
Carriage return character |
vbLf |
Chr(10) |
Linefeed character |
vbCrLf |
Chr(13) + Chr(10) |
Carriage return - linefeed combination |
vbNewLine |
Chr(13) + Chr(10) |
New line character |
|
|
|
|
|
|
vbTab |
Chr(9) |
Tab character |
vbBack |
Chr(8) |
Backspace character |