Check out Array.join(), does the same thing.