getNewAlign function

Make a character string indicating the alignment of components of table.