Scripting >> Python >> String >> Examples >>  How to test whether a character is found in a string

if 'u' in "fruit" :
    print "found it"