[#2779] Add support for LEFT(), RIGHT() functions