invert or reverse a string... warning this is a rant
pavlovevidence at gmail.com
Fri Oct 20 17:27:17 CEST 2006
Demel, Jeff wrote:
> I've been programming professionally for over 10 years, and have never
> once needed to reverse a string. Maybe it's a lack of imagination on my
> part, but I can't think of a single instance this might be necessary.
Say you're using a function from a third-party library that finds the
first character in a string that meets some requirement. You need to
find the last such character.
More information about the Python-list