renamed collapse, splitstring to implode, explode