Andrew Nelsen wrote: > I was wondering, recently, the most expedient way to take a string with > [EMAIL PROTECTED]&*] and alpha-numeric characters [ie. "[EMAIL > PROTECTED]@*$g@)$&^@&^$F"] and > place all of the letters in a string or list.
Another way to do this is to use str.translate(). This method is likely faster than the other approaches though it is more obscure and the speed difference won't matter for small strings. http://aspn.activestate.com/ASPN/Cookbook/Python/Recipe/59857 Kent _______________________________________________ Tutor maillist - Tutor@python.org http://mail.python.org/mailman/listinfo/tutor