there is a function called join() its the opposite of split

in the old worlds you would just say string=join(array,"\") to achieve your string shape

it must still exist but i dont know the current syntax and i am a bit too busy to search for it just know!

hope tht helps your coding a little