Message 1 of 4
Case-INsensitive Select...Case
Not applicable
07-10-2001
05:00 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I'm using Select...Case statements to deal with layer names and block names,
the problem is some blocks are created with all uppercase letters while
others use all lowercase. Some even use mixed case!!! This causes the
counter to incorrectly tally items or c ompletely skip entities I clearly
have in my drawing (they are visible). My question is, how do I tell the
Select...Case loop that CASE "pu-wat" is the same as CASE "PU-WAT" is the
same as CASE "Pu-Wat" without speeling out every possible combination of
upper/lower case letters? Thanks,
the problem is some blocks are created with all uppercase letters while
others use all lowercase. Some even use mixed case!!! This causes the
counter to incorrectly tally items or c ompletely skip entities I clearly
have in my drawing (they are visible). My question is, how do I tell the
Select...Case loop that CASE "pu-wat" is the same as CASE "PU-WAT" is the
same as CASE "Pu-Wat" without speeling out every possible combination of
upper/lower case letters? Thanks,