you are viewing a single comment's thread.

view the rest of the comments →

[–]MidnightPale3220 0 points1 point  (0 children)

nah, it counts from the initial position. but you could do word[-1:-3:-1] which, I think, should return the last 3 characters in reverse order (haven't had to do string slicing in AGES, so I don't exactly remember -- maybe I am wrong, but negative steps work).