Hi
I was hoping I could get a bit of help here. I am trying to break a number of strings up into arrays on particular words. For example in the following strings I want them broken on the words GET and/or POST:
"POST at the start without the other word"
"GET at the start without the other word"
"GET first\nthen POST and more"
"POST first\nthen GET and more"
so that I end off with:
["POST at the start without the other word"]
["GET at the start without the other word"]
["GET first\nthen ", "POST and more"]
["POST first\nthen ", "GET and more"]
Can anyone help?
A