optimization question

Bo M. Maryniuck b.maryniuk at forbis.lt
Mon Aug 12 10:06:52 CEST 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