<p>Need a function that takes a character as a parameter and returns true if it is a letter.</p>

This was part of the code posted by
rpetrich
in response to a
question
by
Joel Spolsky
.  I felt it needed a post specific to the problem it solves.  It really is brilliant.
```
```
Private Function IsLetter(ByVal character As String) As Boolean
    IsLetter = UCase$(character) <> LCase$(character)
End Function
```
```
You may be thinking to yourself, "Will this always work?"  The documentation on the UCase and LCase functions, confirms that it will:
UCase Function
Only lowercase letters are converted to uppercase;
all uppercase letters and nonletter characters remain unchanged
.
LCase Function
Only uppercase letters are converted to lowercase;
all lowercase letters and nonletter characters remain unchanged
.