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

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