I have a simple task to do. I have a long text in DB column and I need to break this long text for words and put each word to another table, lets say to fts_words
: (id INT, wrd VARCHAR[255])
.
I can't find anything like split()
or explode()
in MySQL
and even MySQL
examples. All I found was stupid "look-for-each-delimeter-substring-and-insert-each" solutions.
Is there some block functions in MySQL
to help me with this or more elegant cycle solution?