<div>I have a string&nbsp;(column names) that I need to split.</div>
<div>&nbsp;</div>
<div>D_H&nbsp;= &#39;D&nbsp;5 10 15 20 25 30 35 40&nbsp;D Upper D&nbsp;Lower&#39;</div>
<div>&nbsp;</div>
<div>I cannot do a simple list(D_H).split because the last two strings have a space between them (D Upper and D Lower are two, not four labels).</div>
<div>&nbsp;</div>
<div>Any suggestions?</div>