TEIID-1757 adding endswith to system functions