< Prev
Next >

Python - String casefold() Method

The casefold() string method is used to convert only the all the lowercase characters in a string to lower case letters.

Note : None of the string methods change the original string and only return a new string which reflects the change performed by the string method, hence the returned string must be stored or used(if needed to reflect the result), otherwise it is lost.

Signature of casefold()

The casefold() method has no parameters, so we don't have to worry about passing it some value.

# Signature of casefold() method 

Please Subscribe

Please subscribe to our social media channels for daily updates.

Decodejava Facebook Page  DecodeJava Twitter Page Decodejava Google+ Page



Please check our latest addition