http://forum.html.it/forum/showthrea...hreadid=412253

http://forum.html.it/forum/showthrea...hreadid=686763

leggi il regolamento


per il tuo problema guarda la funzione SUBSTRING_INDEX
http://dev.mysql.com/doc/mysql/en/String_functions.html