From: "Bernard Delmée" Date: 2003-11-17T12:11:34+09:00 Subject: Re: substring: to the end of the string > my solution: > str[3..-1] which seems quite odd :-/ The idiom in python is str[3:] Conversely, str[:3] gives you the 3 1st chars. Read the explanation of slicing operations here: http://www.python.org/doc/current/lib/typesseq.html (read note 4 & 5) And beware, 'str' is a builtin, hence a poor choice as a variable name. Have fun, Bernard.