If you can't do that, in a Function node you can do const splits = msg.payload.trim().split(":")
The trim will strip the new line off the end and the split will split it into an array. Then splits[0] will contain "HR1" and splits[1] will contain "50.53"