parse the string to lowercase