String split function for MySQL.