transform a string to lowercase