I have a comma separated string, which consists of a list of tags and want to convert it to array to get a link for every tag.
Example:
$string = \'h
Just like you explode
d you can implode again:
$tags = explode(',', $arg);
foreach ($tags as &$tag) {
$tag = '' . $tag . '';
}
return implode(', ', $tags);