I have a multiple select that saves the following format in the database:
1-Azul,2-Verde,3-Vermelho,4-Preto,5-Branco
Now I need to break this variable so I can show the result, but I need to remove the comma, just get the part after the "-" of each color.
Ex:
Azul
Verde
Vermelho
Preto
Branco
How could I do this?