Re: Finding out if a given character is in UpperCase, LowerCase or Numeric

Tech Tip: Click here to run a free scan for Windows Errors and optimize PC performance



Tony Proctor wrote:
Being pedantic, most of the replies to your question are not totally accurate. If all you're interested in is A-Z and a-z then they'll do. However, be aware that other languages based on the Latin alphabet may have diacritical marks (aka accents) and so simply looking at A-Z will not work.

For instance, consider A with an acute accent. Chr$(193) is the uppercase and Chr$(225) is the lowercase.
That's why I stated in my reply that I was only covering ANSI/ASCII. Now I read your reply, I should have said: ASCII-7.

Sinna
.