Guy's,

Is there a clean and simple way to detect uppercase characters in a string?

A small example. Not real code but just something that is boiling in my head.
 Code:
$string1 = "FOObar
$string2 = "fooBAR"

$1 = UppercaseScan($string1)
$2 = UppercaseScan($string2)

?"1 = " $1
?"2 = " $2


will give you

1 = FOO
2 = BAR

Or maybe even something similar to the AScan() or InStr() functions.
_________________________
Mart

- Chuck Norris once sold ebay to ebay on ebay.