I’m trying to migrate my rules to OH3.
While with DateTime Conversion (openHAB 3.x) there’s quite a good article how to overcome the time conversion issues, I struggle to get my rules working similar when it comes to string manipulation.
Unfortunately, it hasn’t been mentioned that String class apparently isn’t the same as before.
At least for me, OH3 complains about:
The method substringAfter(String) is undefined for the type String
The method substringBefore(String) is undefined for the type String
The method startsWithIgnoreCase(String) is undefined for the type String
Am I just missing some import, or do you have any other tips for me?