I am trying to split my sentence on 'and' but some of the results looks like this
My code
string = 'I am handling it because it is difficult and confusing'
string.split('and')
Results
['I am h', 'ling it because it is difficult ', ' confusing']
I am trying to get this. How do I do it?
['I am handling it because it is difficult ', ' confusing']