Move the evaluate of ast function substring_index and locate to buildin. And Change some logic in locate function to make its behavior more similar with MySQL.
Move the evaluate of ast function substring_index and locate to buildin. And Change some logic in locate function to make its behavior more similar with MySQL.