I have a string array that looks like this:
string = [ [ "this is a sample",
"this is another sample"],
[ "The third sample",
"the fourth one"] ]
But I want to convert it to:
string = [ "this is a sample",
"this is another sample",
"The third sample",
"the fourth one" ]
How can I do it? I know I can do it by pre-allocating a string and iterating. But is there a simpler method?