String Functions: contains and startWith in v3.5

Hi, I noticed these two functions are not available in v3.5. Is there an alternative?

Also, is there any draw back if upgrading to v4.0? Like will that affect any graphs I created with the older version?

Thanks
Perri

Hi Perri,

There are no direct alternatives for these functions but you can use workarounds. startsWith can be replaced by a function taking length of the shorter string B and comparing string B with a substring of string A with the same length. Function contains is very similar, only encapsulated in a for cycle.

CloverETL 4.0 should be backward compatible with the older graphs. But it is possible that you will not be able to run them again in the older versions after you modify them in a newer one. And if you use your own Java transformations, backward compatibility becomes your responsibility. A list of changes related to compatibility can be found on cloveretl.com.

I hope this helps.