I have a string, how do I convert it to an array?
After manipulating that array, how do I again make it into a string?
Do strings in PHP behave the same way
explode ( string $delimiter , string $string [, int $limit ] )
... and after changes ...
implode ( string $glue , array $pieces )
check out http://php.net/explode and http://php.net/implode
You can also use split or join which, as far as I know, support regex