Split Item value in rule

You don’t have to use MQTT, pay attention to JS transform mentioned there.
Another example (mine) is here.