Change the case of a SafeString. 