92
Python String istitle() Method
Python istitle() method returns True if the string is a titlecased string. Otherwise returns False.
Signature
Parameters
No parameter is required.
Return
It returns either True or False.
Let’s see some examples of istitle() method to understand it’s functionalities.
Python String istitle() Method Example 1
It is a simple example to understand
Python String istitle() Method Example 2
Output:
True False
Python String istitle() Method Example 3
Output:
Not in title case In title case Not in title case
Next TopicPython Strings