optimization question

Bo M. Maryniuck b.maryniuk at forbis.lt
Mon Aug 12 04:06:52 EDT 2002


On Sunday 11 August 2002 17:52, Andrew Koenig wrote:
> If s and t are strings, and I evaluate an expression of the form
>
>     s[i:j] == t
>

I don't like this design. Here is something wrong... What exactly you want to 
do by this? Maybe you want something like:

       t in s

...or regexps or...?

-- 
Sincerely yours, Bogdan M. Maryniuck

Avoid the Gates of Hell.  Use Linux
(Unknown source)





More information about the Python-list mailing list