I have the output of a command in tabular form. I\'m parsing this output from a result file and storing it in a string. Each element in one row is separated by one or more w
Its very simple actually. Try this:
str1="a b c d" splitStr1 = str1.split() print splitStr1