openhab-addons/bundles/org.openhab.transform.javas.../conf/transform/readme.js

4 lines
97 B
JavaScript

(function(i) {
var array = i.split(" ");
return array[array.length - 1].length;
})(input)