> Doran, Harold wrote: > > I presume you meant > > x = ' \t\'ff' > > > > Is there a way to check if the first element of y is null? > >
You can use startswith() method of string objects. if x.startswith(' '): print True -- O.R.Senthil Kumaran http://uthcode.sarovar.org -- http://mail.python.org/mailman/listinfo/python-list