Here is an array structure that I currently have:
var Data = [{
"words": [
"dolor",
"sit",
"amet",
"consectetur"
],
"description": "Lorem Ipsum."
}, {
"words": [
"adipisicing",
"elit",
"sed",
"do"
],
"description": "Lorem Ipsum."
}];
I am looking for a way to combine all the words into one string, with each word separated by a single pipe symbol "|". The expected output format should be as follows: (dolor|sit|amet|consectetur|adipisicing|elit|sed|do)