Available Times: Monday Tuesday Wednesday 8-12 12-5 Other type of contact: SMS Unavailable Times: Thursday 8-12
I want to split the above string as three separate arrays 1st array = [Monday Tuesday Wednesday 8-12 12-5]
2nd array = [SMS]
3rd array = [Thursday 8-12 ]
I tried using split function, but dint work! I appreciate your kind help. Thanks in advance