sunstring

Martin von Loewis loewis at informatik.hu-berlin.de
Sun Mar 17 12:43:57 EST 2002


"Billy Ng" <evebill8 at hotmail.com> writes:

> Would anybody tell me how to do substring in python?

>>> s="Hallo"
>>> s[2:4]
'll'

HTH,
Martin



More information about the Python-list mailing list