I have one string something like
orderIDNumber=final &&customerSoldTo=&customerShipTo=&orderStatus=All&productIdType=MMMCATALOG&productId=&poFromDate=&poToDate=
where & is delimiter and want to split each part but in orderIDNumber value i am getting value as "final &" and it is splitting my string on this also can any one please help how to overcome by this problem.
I am trying to split to whole string on & delimiter
pageNo = pageUrl.split("&");
and then trying to set the values to form something like orderIDTypeData = pageNo[1] this.