Split Item value in rule

Hi,

Anybody knows how I split this string in a rule:

streng: “FirstWord,SecondWord,LastWord” and I would like to check on the “FirstWork” in the string in the rule?

Thanks

Regards

Claus

I had a look at that. But I dont know how to use MQTT. I’m new to openhab.

Is there another way?

/Claus

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