On Wed, 02 Mar 2005 16:43:29 -0500, M.N.A.Smadi <[EMAIL PROTECTED]> wrote: > hi; > > say i have the following variable > > data="""XYZ dflsjdfkl sdfsdhfl > jdsflkdsjf > sldjfsldjf > """ > > i need to make sure that the first part is actually XYZ, is there an > easy way of doing that? >
data.startswith('XYZ')
Please read the python tutorial at http://docs.python.org/tut/tut.html .
Peace
Bill Mill
bill.mill at gmail.com
--
http://mail.python.org/mailman/listinfo/python-list
