Convert msg.payload array to a String

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.