Getting part of a stringSuggest EditsPython>>>mystr = "abcdefghijkl" >>>mystr[-4:] 'ijkl' Updated less than a minute ago Did this page help you?YesNoCopy Page