Re: Finding out if a given character is in UpperCase, LowerCase or Numeric
- From: "Tony Proctor" <tony_proctor@xxxxxxxxxxxxxxxxxxxxxxxxxxxxx>
- Date: Wed, 2 Jul 2008 10:44:20 +0100
I shouldn't worry Sinna. I'm sure the OP wasn't really interested in
worldwide distribution :-)
I always try to bring the subject up whenever I can, though, just to remind
people. The majority of applications written in the Western world are not
globally aware, and it doesn't make any difference whether the programming
language uses Unicode, or offers locale-aware support. I've been involved in
international projects for 20 years and developers always make the same
mistakes or assumptions. :-(
It's not just a matter of character sets, or alphabets (as in this case), or
decimal-point/triple-point characters, or date representations, or boolean
representations, etc. There are fundamental differences at the local
language level such as how the sentences are put together (affects parameter
placement, for instance), or the concept of plurals, or the concept of
masculine/feminine, etc. Even writing English language s/w for UK and US
distribution should consider such differences, although it rarely does
Ah well, back to work, eh?
Tony Proctor
"Sinna" <news4sinna_NOSPAM@xxxxxxxxxx> wrote in message
news:e3fqu0A3IHA.2348@xxxxxxxxxxxxxxxxxxxxxxx
Tony Proctor wrote:
Being pedantic, most of the replies to your question are not totallyThat's why I stated in my reply that I was only covering ANSI/ASCII. Now I
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.
read your reply, I should have said: ASCII-7.
Sinna
.
- Follow-Ups:
- References:
- Prev by Date: Re: Finding out if a given character is in UpperCase, LowerCase or Numeric
- Next by Date: Re: Finding out if a given character is in UpperCase, LowerCase or Numeric
- Previous by thread: Re: Finding out if a given character is in UpperCase, LowerCase or Numeric
- Next by thread: Re: Finding out if a given character is in UpperCase, LowerCase or Numeric
- Index(es):