class to create a string from other columns using a format string