convert method string to uppercase