Hi, rather than splitting the string, you need to convert it into an object and then you will have access to the parts directly using standard JavaScript for notation. So first feed it through a JSON node, then into a function.
The function will require 2 outputs so set that bottom left.
Then we need to create two output messages from the incoming one.
var m1 = {topic:"Temperature", payload: msg.payload.AM2301.Temperature};
var m2 = {topic:"Humidity", payload: msg.payload.AM2301.Humidity};
return [m1, m2];
Which you can then feed to two ui widgets.