On 2014-11-05 18:05, C@rlos wrote:
I thing this work:stg='pythonpython' foundationline=stg[ 0:( stg [ 1: ].index( stg[ 0 ])+1 ) ]
It doesn't work for the final example or "barbaz". -- https://mail.python.org/mailman/listinfo/python-list
On 2014-11-05 18:05, C@rlos wrote:
I thing this work:stg='pythonpython' foundationline=stg[ 0:( stg [ 1: ].index( stg[ 0 ])+1 ) ]
It doesn't work for the final example or "barbaz". -- https://mail.python.org/mailman/listinfo/python-list