WL#1805: Extended function support in TUP interpreter

Status: On-Hold   —   Priority: Medium

The TUP interpreter has only a limited number of comparison
operations available to simple types. With support for SQL types
such as CHAR and VARCHAR simple functions such as SUBSTRING 
are needed to extend the interpreter's usabillity. 

** merge into wl-1203