I am looking for a script export a table to charater delimiter including the columns of the table.
There are lots of examples on this site. For example,
Search for "comma seperated" and you will find loads...
"I pledge to stop eating sharks fin soup and will not do so under any circumstances."