I'm having an issue with the way a line is displayed on my screen:
Would you like to pay €xx to POS_ID Latte X 1....€2.50-Salad X 1....€4.00-Wrap X 1....€4.50-Coffee X 2....€3.00-
My desired format is as follows:
Would you like to pay €xx to POS_ID "Latte X 1....€2.50- Salad X 1....€4.00- Wrap X 1....€4.50- Coffee X 2....€3.00-".
This message is generated by parsing the JSON below:
{"action":"POS_clear","id":"POS_ID","paramater":"14.00", "purchaseList":"Latte X 1....€2.50-Salad X 1....€4.00-Wrap X 1....€4.50-Coffee X 2....€3.00-", "ClientID":"1234"}
Initially, I used /n instead of - but faced issues with parsing the JSON (due to the /). I then replaced the slash with a dash and considered using splicing. However, I am unsure of how to proceed. Any assistance would be greatly appreciated!