>>>IF lcStr = UPPER(lcStr )
...
>Use the double == for this test...
>It will work on all SET EXACT settings.
I think SET EXACT is irrelevant in this specific example, because the strings have the same length.
I do agree that == is better, but for another reason: collation sequences.
set collate to "general"
? "abc" = "ABC"
? "abc" == "ABC"
Difference in opinions hath cost many millions of lives: for instance, whether flesh be bread, or bread be flesh; whether whistling be a vice or a virtue; whether it be better to kiss a post, or throw it into the fire... (from Gulliver's Travels)