Changes the case of an input string either to lower or upper case. The case is controlled by a property.