how to truncate to get the 1st 5 chars from a string

Grant Edwards invalid at invalid.invalid
Thu Sep 24 05:10:02 CEST 2009


On 2009-09-24, MacRules <MacRules at none.com> wrote:
> s="1234abcd"
> s.range(0..4)
> 1234a
>
> Is there a string function like this?

http://www.google.com/search?q=python+tutorial

-- 
Grant




More information about the Python-list mailing list