Returns a substring of the input string to the left of the index of the input number.
Syntax
leftStr ( <string> , <index> )
Parameters
<string> is a string.
<index> is an index number.
Returns
String
Example
leftStr ( connection : \'DB'::'TBC.tbc.MARKET'.'STATE' , 2 )