Hello everyone! I am trying to convert the msg.payload which is an arry to a normal string. I am looking for suggestions on how to do it? Any help is appreciated! Thanks in advance.
Hello everyone! I am trying to convert the msg.payload which is an arry to a normal string. I am looking for suggestions on how to do it? Any help is appreciated! Thanks in advance.
In a change node
move msg.
payload[0]
to msg.
payload
Hi, tried that but something weird shows up in the debug window
That is a strange change node.
If you insist on using a function node, try
msg.payload = msg.payload[0]
ps. always post code as text, images can not be copied.
This topic was automatically closed 14 days after the last reply. New replies are no longer allowed.