How to remove ;(semicolon) when converting an array tostring()?

Certified Associate Developer

I have an array of strings but when I use the tostring function on the array there is a semicolon in-between each string. How do I get rid of the semicolon and if possible get rid of them with out spaces being left in there too.

ex) 

tostring({"123","456", "789"}) -> "123;456;789"

what I want is "123456789"

  Discussion posts and replies are publicly visible