May-01-2018, 11:27 AM
Hi,
I have a string with the following format: 'bbb 3 3', i.e a string and 2 numbers.
I need the 3 data, and i am using str.split() to get that result. The problem is it is a bit slow. Is there a quicker way to extract the same information, using regex or any other method?
Thank you very much for your help
I have a string with the following format: 'bbb 3 3', i.e a string and 2 numbers.
I need the 3 data, and i am using str.split() to get that result. The problem is it is a bit slow. Is there a quicker way to extract the same information, using regex or any other method?
Thank you very much for your help