Strings are immutable, so the Replace function doesn't modify the string it is called on. You need to assign it again like you did in your second example.
And as other people have pointed out, the ToUpper call will ensure that variable names don't match.
Ray
2009-05-11 02:08:19