check DTC if not null then add value to stringbuilder.format output string.