I'm trying the following...
MQTT input subscribed to /some/topic/+/state
...and I need to get the wildcard (+) name and the value of the topic. This name hold the name of a sensor and becouse I have loooots of sensors I want to keep it simple and parse them all the same way.
When I attach a debugger to the node, I can see the complete topic, but I just need the wildcard part.
/some/topic/13245/state : msg.payload : string "0"
So I need to get the "12345" part as a separate msg or variable.