Try to implement explode and implode because fish-shell/fish-shell#159.
Still not sure how to explode strings without sed.