Add str_tolower and str_toupper functions