How to split 'cookie' by seperating the delimiter '|' ?
cookie="item 1 : desc2 | item2 : desc2";
Assume the value of 'cookie' is not fix. I want use the
while loop to display each item where the format is
separated by "|".
Eg. my expected output as below :
item item desc
----- ---------
item1 desc1
item2 desc2
Please help. Thank.
cookie="item 1 : desc2 | item2 : desc2";
Assume the value of 'cookie' is not fix. I want use the
while loop to display each item where the format is
separated by "|".
Eg. my expected output as below :
item item desc
----- ---------
item1 desc1
item2 desc2
Please help. Thank.