Hi all,

Please consider two strings
   
>>> line_a
'12345678abcdefgh12345678'
>>> line_b
'12345678 abcdefgh 12345678'
>>> line_b.split()
['12345678', 'abcdefgh', '12345678']

Is it possible to split line_a such that the output
is

['12345678', 'abcdefgh', '12345678']

Nils

  
_______________________________________________
Numpy-discussion mailing list
[email protected]
http://mail.scipy.org/mailman/listinfo/numpy-discussion

Reply via email to