if ( count($value) >= 3 ) {
echo '<pre>'.print_r( array_slice($value, 0, -1) ,1).'</pre>';
echo '<pre>'.print_r( array_slice($value, -1) ,1).'</pre>';
}
... it prints the values as I expect, but I'm not sure how to convert it to a string so for example:
Array
(
[0] => Dr.
[1] => John
[2] => Appleseed
)
Array
(
[0] => Jr
)
becomes:
Array
(
[0] => Dr. John Appleseed
)
Array
(
[0] => Jr
)
join($value).implode(" ", $array);