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

Grant Edwards invalid at invalid.invalid
Wed Sep 23 23:10:02 EDT 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

AltStyle によって変換されたページ (->オリジナル) /