How to do string Operation on text variables

Hi,

i use a ifttt flow which provides a link to an image. i would like to cast this url to nest hub. unfortunaley the link which is accesible via an tag / variable ends with […]&export=download which prevents the nest hub to display the image. When i manually test the link without the postfix it runs.

Does anybody know if it is possible to do string operations (remove las n characters) within homey? maybe with better logic and mathjs?

Thanks in advance

Maybe you can do it in HomeyScript:
image

1 Like