> I need to split a string as per string.strip(), but with a > modification: > I want it to recognize quoted strings and return them as one > list item, > regardless of any whitespace within the quoted string.
See the recent python-tutor thread starting here: <http://mail.python.org/pipermail/tutor/2005-April/037288.html> For various solutions. Or just use a regular expression, which is what the thread concludes. =Tony.Meyer -- http://mail.python.org/mailman/listinfo/python-list