Corrado Santoro wrote:
> I would refer to the python slicing capability, i.e.:
>
> a="Hello, World"
> a[5:-3] --> ", Wo"
Given what is already in the lists module,
slice("Hello, World", 5, -3) -> ...
must be a one- or two-liner.
Why bother with the syntactic sugar?
Regards,
Dominic Williams
http://www.dominicwilliams.net
----