Filter a Payload

Hello Guys,

How can i Seperate the Last part of my Message that i only forward the part in the Circle ?

That i only send "0" or in the Second "81" to the next node

point

Thx in Advance

msg.payload.split('.').slice(-1).pop();

This topic was automatically closed 60 days after the last reply. New replies are no longer allowed.