Last 4 Letters of String

Reedick, Andrew jr9445 at ATT.COM
Thu Feb 21 18:48:24 CET 2008


How would you get the last 4 items of a list?

 

 

From: python-list-bounces+jr9445=att.com at python.org
[mailto:python-list-bounces+jr9445=att.com at python.org] On Behalf Of
Robert Rawlins - Think Blue
Sent: Thursday, February 21, 2008 11:36 AM
To: python-list at python.org
Subject: Last 4 Letters of String

 

Hello Guys,

 

I'm looking for a function which will give me the last 4 characters of a
given string. I'm sure it's a very simple task but I couldn't find
anything of it.

 

Any ideas?

 

Rob

-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://mail.python.org/pipermail/python-list/attachments/20080221/5791195d/attachment.html>


More information about the Python-list mailing list