Author Archives: Gurmeet Singh

Python String istitle() Method

Python String Istitle() Method

This is a tutorial of the Python String istitle() method. Learn to check if a given string is in Title Case or not with the help of illustrative examples. Python String istitle() The str.istitle() method returns True either if the given string is in Title Case and if not it returns False. Note. A String […]

Python String isspace() Method

Python String Isspace() Method

This is a tutorial of the Python String isspace() method. Learn to check if a given string only contains whitespace characters or not with examples. Python String isspace() The str.isspace() method returns True either if the given string contains only whitespace characters and if not it returns False. Syntax Given below is the syntax of […]

Python String isprintable() Method

Python String Isprintable() Method

This is a tutorial of the Python String isprintable() method. Learn to check if a given string only contains printable characters or not with examples. Python String isprintable() The str.isprintable() method returns True either if the given string is empty or it contains only printable characters (letters, symbols, digits, punctuation and whitespace) and if not […]

Python String isnumeric() Method

Python String Isnumeric() Method

This is a tutorial of the Python String isnumeric() method. Learn to check if a given string only contains numeric characters or not with examples. Python String isnumeric() The str.isnumeric() method returns True if the given string contains only numeric characters (0-9, even in subscripts or superscripts, also fractions) and if not it returns False. […]

Python String swapcase() Method

Python String Swapcase() Method

This is a tutorial of the Python String swapcase() method. Learn to convert lowercase into uppercase & uppercase into lowercase in a given string. Python String swapcase() The Python str.swapcase() method converts all of the uppercase alphabets into lowercase and all of the lowercase alphabets into uppercase in a given string and returns it as […]

Python String isupper() Method

Python String Isupper() Method

This is a tutorial of the Python String isupper() method. Learn to check if all of the alphabets in a given string are uppercase or not with examples. Python String isupper() The str.isupper() method returns True if the given string contains all of the alphabets in uppercase (A-Z) and even if the string contains at […]

Python String islower() Method

Python String Islower() Method

This is a tutorial of the Python String islower() method. Learn to check if all of the alphabets in a given string are lowercase or not with examples. Python String islower() The str.islower() method returns True if the given string contains all of the alphabets in lowercase (a-z) and even if the string contains at […]

Python String isidentifier() Method

Python String Isidentifier() Method

This is a tutorial of the Python String isidentifier() method. Learn to check if a given string is a valid Python Identifier or not with the help of examples. Python String isidentifier() The str.isidentifier() method returns True if the given string is a valid Python Identifier and False if its not. Note. An Identifier is […]

Python String isdigit() Method

Python String Isdigit() Method

This is a tutorial of the Python String isdigit() method. Learn to check if a given string only contains digit characters or not with examples. Python String isdigit() The str.isdigit() method returns True if the given string contains only digit characters (0-9, even in subscripts or superscripts) and if not it returns False. Syntax Given […]

Python String isdecimal() Method

Python String Isdecimal() Method

This is a tutorial of the Python String isdecimal() method. Learn to check if a given string only contains decimal characters or not with examples. Python String isdecimal() The str.isdecimal() method returns True if the given string contains only decimal characters (0-9) and if not it returns False. Syntax Given below is the syntax of […]