Converts a list of strings into a single object.
Array: Location of the list to convert into a string
Output-location: Location to store the output data
Note: the element with other data types are ignored