Thanks, Kent and Andrei! I sure did miss those doubled parentheses.
>>> s = "qwerty"
>>>
>>> s.startswith(("er","z","ty","qw","98768976","uytruytr"))
True
>>> s.startswith(("er","z","ty","qe","98768976","uytruytr"))
False
>>> s.startswith(("er","z","rty","qe","98768976","uytruytr"), 2)
True
>>> s.startswith(("er","z","rty","qe","98768976","uytruytr"), 4)
False
>>>Dick _______________________________________________ Tutor maillist - [email protected] http://mail.python.org/mailman/listinfo/tutor
