<div class="gmail_quote">On Tue, Sep 28, 2010 at 3:03 PM, Corey Richardson <span dir="ltr"><<a href="mailto:kb1pkl@aim.com">kb1pkl@aim.com</a>></span> wrote:<br><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex;">
Hello tutors.<br>
<br>
I hate doing this:<br>
string = string.lower()<br>
<br>
Is there a way to do it without the "string =" part? Thanks.<br></blockquote><div><br></div><div>Not with a string. I suppose if you had your own class you could create something, but you'd be doing the same thing behind the scenes.</div>
<div><br></div><div>Is there any particular reason why you don't like doing it? It's explicit and easy to understand - saying that you want the lowercase version of the string, but you don't care about the original string.</div>
<div><br></div><div>At least that's my take on it,</div><div>Wayne</div></div>