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

MacRules MacRules at none.com
Wed Sep 23 23:05:45 EDT 2009


s="1234abcd"
s.range(0..4)
1234a

Is there a string function like this?

Thanks



More information about the Python-list mailing list