New mysql function SUBSTRING_INDEX added