<pre>all_types:<br>&lt;Storage {'type': 'childcare', 'id': 1, 'created': datetime.datetime(2006, 7, 26, 15, 18, 34, 887436)}&gt;<br>&lt;Storage {'type': 'household', 'id': 2, 'created': datetime.datetime(2006, 7, 26, 15, 18, 34, 887436)}&gt;<br>.....<br>&lt;Storage {'type': 'knews', 'id': 10, 'created': datetime.datetime(2006, 7, 26, 15, 18, 34, 887436)}&gt;<br>there is such a list<br><br>how do i search for a particular string say teststring in this list<br><br>i tried<br><br>if teststring in all_types:<br>if teststring in all_types.type: <br>it doesnt work<br><br><br>please help me out here<br>should i use lambda<br></pre><p>&#32;
                <hr size=1>Talk is cheap. Use Yahoo! Messenger to make PC-to-Phone calls. <a href="http://us.rd.yahoo.com/mail_us/taglines/postman7/*http://us.rd.yahoo.com/evt=39666/*http://messenger.yahoo.com"> Great rates starting at 1¢/min.