Hi
I get the type of string below returned to me from a mqtt server, always 5 elements, it cannot be modified.
receipt=xxxxxxr5wfe51zkxxrow97nsox4xxxx&acknowledged=1&acknowledged_at=1727167256&acknowledged_by=xxxxxxnumm3acmuxxxxxxxxxxxx&acknowledged_by_device=steve mobile
I have tried splitting with the split node using the "&" and that gives me 5 seperate messages all called msg.payload. What I am trying to get is either 5 variables or an object array, so that I can further process each pair. Not looking for someone to the write the code but just some guidance on the way to go. Forum and google search have just added to my confusion as still early days with Nodered.
The goal is to be able to log when & if a Pushover message has been acknowledged and by whom. As far as i am aware ampersands are not returned within the string unless they are used as delimiters (joiners?)
Thanks