In <[email protected]> "Steve Goodwin" <[email protected]> writes:
> 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 :) > I have looked at regular expressions and string functions, so far no luck. > Custom function required? Use the split() string function. -- John Gordon A is for Amy, who fell down the stairs [email protected] B is for Basil, assaulted by bears -- Edward Gorey, "The Gashlycrumb Tinies" -- http://mail.python.org/mailman/listinfo/python-list
