Edit, nevermind, i figured it out for myself. All I had to do was make an array of the exploded and implode it.