iNTERFACEWARE Products Manual > Learning Center > Learning Python > Working With Strings > String Functions > String Comparison |
|
Looking for Iguana v.5 or v.6? Learn More or see the Help Center.
In Python, string comparison functions indicate whether the string meets a particular condition. Each of these functions returns True if the condition is matched, or False if the condition is not matched. The following table lists the string comparison functions and what they do:
Because string comparison functions return True or False, they are ideal for use in conditional statements:
|