I am new to MYSQL. I have a requirement to split a string into rows based on the delimiter given by the user. User might give any delimiter and any number of times.
For Ex:
Input:
'ABC,DEF;GHI@JKL-MNO/PQR&STU)VWX?YZ'
Output:
ABC
DEF
GHI
JKL
MNO
PQR
STU
VWX
YZ
Note: I am able to do the same requirement in SQL Server. But I am not able to convert the same to MYSQL Code. If anyone can convert it to mysql, please let me know I will share the code.
Please help me. Thanks in advance.