<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0 Transitional//EN">
<html>
  <head>
    <META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=ISO-8859-1" />
    <title>Re: Possible to slice a string with unpacked tuple?</title>
  </head>
  <body dir="ltr">
    Benjamin,<br /><br />> Use the built-in slice.<br /><br />Perfect!! That's exactly what I was looking for - I didn't know this object existed.<br /><br />> What's wrong with unpacking the tuple?<br /><br />I'm extracting fields from a huge, multi-gig log file. I was trying to avoid doing something like myString[ myTuple[ 0 ]: myTuple[ 1 ] )  millions of times in a loop.<br />

    <p>Thank you!<br />Malcolm</p><br /><div class="gmail_quote"><div><br /></div></div>

  


  

  </body>
</html>