Use implode() instead of join().