On Fri, Feb 15, 2013 at 6:04 PM, Steve Goodwin <sgood...@cfl.rr.com> wrote:
> Hi,
>
> I am looking for the python2.7 function(s) to parse a string from a colon
> character ":"
>
> Sounds simple enough.
>
> For example, a string like "123456:789".  I just need the "123456"
> substring.(left of the :)
"123456:789".split(":")[0]
-- 
http://mail.python.org/mailman/listinfo/python-list

Reply via email to