I’m struggling to find any good documentation on Xtend if anyone can point me towards.
I want to a do a substring in a rule but I just can’t find the correct format.
This is so much easier in Python!
What I’m trying is.
val String string1 = 'Hello' val String string2 = string1.subString(0,1)
However this isn’t correct.
Can someone point me to some docs so I can’t read those and refer to them when I need to know a command.
Or can someone rewrite Openhab in Python…