I have a function to split a string in MYSQL.

After splitting the string I store them in a temporary table.

I plan to use it in different SPs.

So I plan to pass the string to be split, the delimiter and the table name.

Please help me. If you know of some link where I can learn more of this, please get me the link.