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

MacRules MacRules at none.com
Thu Sep 24 05:05:45 CEST 2009


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

Is there a string function like this?

Thanks



More information about the Python-list mailing list